Skip to content

Instantly share code, notes, and snippets.

@loginov-rocks
Created August 26, 2018 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loginov-rocks/0e4ff696195863e99853b126aca8ecb1 to your computer and use it in GitHub Desktop.
Save loginov-rocks/0e4ff696195863e99853b126aca8ecb1 to your computer and use it in GitHub Desktop.
How to make a web app for your own Bluetooth Low Energy device? Step 1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="styles.css" rel="stylesheet">
</head>
<body>
<button id="connect" type="button">Connect</button>
<button id="disconnect" type="button">Disconnect</button>
<div id="terminal"></div>
<form id="send-form">
<input id="input" type="text">
<button type="submit">Send</button>
</form>
<script src="main.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment