PWM is like pseudo-analog signal. So when we need 0 or 1 as response, using digitalRead() is practical. Whereas, to read sensor values, ...
確定! 回上一頁