LED Not Blinking

My LED is not blinking, here is my code.

Bolt IoT Platform ON OFF

Can you please share your code

@2020.shruti.dalvi here is my code.

<!DOCTYPE html>
<html>
    <head>
        <title>Bolt IoT Platform</title>
        <script type="text/javascript" src="https://cloud.boltiot.com/static/js/boltCommands.js"></script>
        <script>
        setKey('{{ApiKey}}','{{Name}}');
        </script>
    </head>
    <body>
        <center>
        <button onclick="digitalwrite(0, 'HIGH');">ON</button>
        <button onclick="digitalwrite(0, 'LOW');">OFF</button>
        </center>
    </body>
</html>

Hello @sknabar13 ,
The syntax for digitalWrite function is digitalWrite(pin, value) and in your code you have typed ‘W’ in lower case

1 Like

Please check the connections once again and please connect hard ware components correctly and strongly with out loose connections and then check the led.

Hi @sknabar13
is the issue completely resolved? Do let me know if you need any other help.