Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (19 sloc) 731 Bytes
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blinking LED example</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<script src="https://cdn.jsdelivr.net/npm/wapp-api@latest/browser/wapp-api.js"></script>
<script src="index.js"></script>
</head>
<body>
<div>
<p id="reportValue">Loading report state...</p>
<button onclick="turnOn();" class="on">On</button>
<button onclick="turnOff();" class="off">Off</button>
<button onclick="blink();" class="blink">Blink</button>
<button onclick="stopBlinking();" class="blink">Stop blinking</button>
</div>
</body>
</html>
You can’t perform that action at this time.