URL controlled led strip animation Answered
I need some help with a diy led strip project
I have 3 led strips (WS2812), Arduino mega, and an Ethernet shield (W5100).
I want to mount the strips in our kitchen and control via a url.
Eg. http://192.168.1.12/fire demo would kick off one of the FastLED example animation.
My aim is to be able to choose different animations using urls sent via actiontiles (Samsung smartthings interface) and play a selected animation continuously until I select a different url.
I can get it to play once but I can’t get it to play something else when I click a different url.
I’m guessing my problem is my nested loops but I don’t have the skill or knowledge to be able to troubleshoot it.
I suspect The url is jumping to a continuous loop and never exits it to see if a different url is selected... At least that’s my theory
Anyone care to start me off with an example of how to achieve this ?
Ethernet shield (WS5100)