void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Light Intensity");
pinMode(2, INPUT);
}
void loop() {
int a=analogRead(2);
Serial.println(a);
delay(10); // this speeds up the simulation
}
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Light Intensity");
pinMode(2, INPUT);
}
void loop() {
int a=analogRead(2);
Serial.println(a);
delay(10); // this speeds up the simulation
}