Hello there!
I am trying to turn an LED on and off over wifi using an app. When I click on ON/OFF, a request is sent and I get a message on screen telling me whether LED is on or off. The app is working fine, but I have 2 concerns:
1. When I press ON/OFF button, I get the following error:
I am able to get rid of the error by using when screen1.ErrorOccured. However, I'd like to know what the error means and be able to prevent it.
2. When I press ON/OFF, the message "LED status" continues to change whether or not I am connected to the internet. Is there a way to check internet connectivity and whether the state of the LED is actually changing?
Thank you in advance for your help.
Regards
Akanksha