You need to add this to your setup(): pinMode(A0, INPUT); ...to set the pin for reading. Since you're reading an input that's already pulled up (in the ...
確定! 回上一頁