The first step in using digitalRead is to use pinmode() to set the pin function as an INPUT. pinmode(8, INPUT);. To read the input, use the digitalRead function ...
確定! 回上一頁