Finally connect the 5V pin to the long leg of the phototransistor. Code. Arduino Sketch. Add this code snippet to your Arduino IDE.: unsigned int ADCValue; ...
確定! 回上一頁