I have made all the connections properly, the coding, the saving of the filename “index.htm” and typefile as *.htm I’ve configured my BOLT board perfectly. Is it that the GPIO pins are not working ? But the LEDs present in the BOLT board are working and it has been configured correctly too.
Please share the code wihout tag
Hi Pranav facing the same issue here can your team please help?
Below is the code snippet of the same:
<title>Bolt IoT Platform</title>
<button onclick="digitalWrite(0, 'HIGH');">ON</button>
<button onclick="digitalWrite(0, 'LOW');">OFF</button>
Check Which resister you have wrapped? choose same color pattern as shown in figure
for more info of color codes of resisters Color codes of Resisters
Please Check the connection again, Let me summarize connections
LED/ Piezzo Buzzer
- longer leg(+ve) No Connection (In Air) Wrapped with one leg of resister
- shorter leg(-ve) insert to GND(Ground Port) in Bolt.
- one leg is wrapped with positive edge of LED/Buzzer.
- other leg is inserted in GPIO Port 0
check whether the bolt wifi moderm is connected to the bolt cloud.
Please open the control page on Bolt Cloud -> Right-click on the page -> Inspect element -> Console and then check if you are able to see any error.
Your code seems fine to me. Please share the image of your Bolt to led connection.