robotica y domotica basica con arduino lo: ```cpp int LDRPin = A0; int relayPin = 7; int threshold = 500; void setup() { pinMode(relayPin, OUTPUT); Serial.begin(9600); } void loop() { int lightLevel = analogRead(LDRPin); Serial.println(lightLevel); if (lightLevel < threshol Jan 12, 2026 Read more →