Here is the current code which i have.
> <!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="analogWrite(0, 250);">ON</button> > <button onclick="digitalWrite(0, 'LOW');">OFF</button> > </center> > </body> > </html>
I want someting like a lop in which the frequecy goes like 250, 249, 248…2, 1, 2, 3, ,4 …249, 250