Datasheet
IDUINO for Maker’s life
www.openplatform.cc
2 Pinout
Pin
Description
Out
Analog output pin, real-time output
voltage signal
Vcc
Power
Gnd
Ground
3. Example
In this example, this module will read the value of resistor and print in the Serial
Monitor. These value can be reflect the intensity of environment light.
The connection as below:
********Code Begin********
int sensorPin = A5; // select the input pin for the potentiometer
int ledPin = 13; // select the pin for the LED
int sensorValue = 0; // variable to store the value coming from the sensor
void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
void loop() {