Cant control the led project 3 i have checked everything please help

after all things are done when turning on the led on button the led is not turning on,
then i tried this code
singleButton({name:“Led On”, action:“digitalWrite”,
pin:“0”, value:“HIGH”})

singleButton({name:“Led Off”, action:“digitalWrite”,
pin:“0”, value:“LOW”})
and this is not working also please help

There is no problem with the code in my case it is running fine led is glowing. You can check it once again or there might be some problem with the connections.

i have tried this code and it is working properly.there might be a connection problem

Hello,
There is absolutely no problem in the code mentioned above. Please check with your connections and also confirm whether the file extension (it should be ‘js’ ) under the ‘Hardware’ tab of the the Product:Setup page (cloud.boltiot.com).
please share a screenshot of the code and the picture of the circuit connections if the problem still persists.
Hope this helps :slight_smile:

First Check the connection and pins if yes check is the LED ok if yes then just reboot the bolt module and connect again.

there is no problem in code. check and retry the connection part.