Arduino KY-018 Photo resistor module
Hardware connections
- Module Signal (S) - Arduino A5 (analog in)
- Module +5V (Pin2) - Arduino 5V
- Module GND - Arduino GND
Program
The program below reads the analog signal and outputs it to the serial monitor..Open serial monitor to see the values.
No comments:
Post a Comment