<!DOCTYPE html>
<html>
<head>
<title>Bolt IoT Platform</title>
<script type="text/javascript" src="https://cloud.boltiot.com/static/js/boltCommands.js"></script>
<script type="text/javascript">setKey('{{ApiKey}}','{{Name}}');</script>
</head>
<body bgcolor="black">
<center>
<button style="background-color:green; height:50px; width:100px;margin-top:300px;" onclick="digitalWrite(0, 'HIGH');" >ON</button>
<button style="background-color:red; height:50px;width:100px;margin-top:300px;" onclick="digitalWrite(0, 'LOW');" >OFF</button>
</center>
</body>
</html>
Comments