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>
        <title>Bolt IoT Platform</title>
        <script type="text/javascript" src="https://cloud.boltiot.com/static/js/boltCommands.js"></script>
        <button onclick="digitalwrite(0, 'HIGH');">ON</button>
        <button onclick="digitalwrite(0, 'LOW');">OFF</button>

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.

here it is a TypeError it needs to be digitalWrite and also it is better to connect led to pins other than 0 because if led is connected to pin 0 while uploading code it causes error
either upload code and connect or change the pin you want to use