int VALUE= 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
VALUE=analogRead(A0);
Serial.print("LDR VALUE:");
Serial.println(VALUE);
delay(1000);
}
int VALUE= 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
VALUE=analogRead(A0);
Serial.print("LDR VALUE:");
Serial.println(VALUE);
delay(1000);
}