void setup() {
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(12,INPUT);
}
void loop() {
if (digitalRead(12)==1){
Serial.println("Dark Space");
}
else{
Serial.println("Luminated Space");
}
delay(100); // this speeds up the simulation
}