int LDR_pin = 34;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
int LDRReading = analogRead(LDR_pin);
float Vout = LDRReading * 0.000806;
Serial.println(Vout);
delay(10); // this speeds up the simulation
}