I've seen plenty of solutions to this problem online, but I can't find a way to do it that doesn't involve using a physical button...my goal is to switch on and off via dashboard widget in Arduino IoT Cloud...not a physical switch...(so there's no input pin)
I have been able to code my MKR WiFi 1010 and LED to turn and off via the dashboard widget (switch) but only as a blink function...meaning that when the "delay" time is over, the LED turns off
I can't figure out how to make it STAY on, and only turn off when I hit the on/off switch on my dashboard widget...
my goal is to switch a lamp on/off with my phone or computer. I started with an LED to write the code first.
THANKS IN ADVANCE!
I have been able to code my MKR WiFi 1010 and LED to turn and off via the dashboard widget (switch) but only as a blink function...meaning that when the "delay" time is over, the LED turns off
I can't figure out how to make it STAY on, and only turn off when I hit the on/off switch on my dashboard widget...
my goal is to switch a lamp on/off with my phone or computer. I started with an LED to write the code first.
THANKS IN ADVANCE!
Last edited by a moderator: