Buzzer not Working.
My Connections are:
Long Pin of Buzzer to Pin 0 (Digital) (The one next to A0)
Short Pin of Buzzer to GND
Here’s my code:
Bolt IoT Platform <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>