LDR WITH THREE LIGHT — ESP32 simulation

An interactive ESP32 circuit simulation you can run free in your browser on Velxio, by vishwesvaran52.

Components

Sketch code

int LDR=34;
int LED1=2;
int LED2=4;
int LED3=5;
int Threshold=200;
void setup(){
  pinMode(LDR, INPUT);
  pinMode(LED1, OUTPUT);
  pinMode(LED2, OUTPUT);
  pinMode(LED3, OUTPUT);
}

More projects by vishwesvaran52