Skip to content

Instantly share code, notes, and snippets.

@rockos
Created June 25, 2016 02:00
Show Gist options
  • Save rockos/74db6a09324ddfc7f0b40cb21eb69816 to your computer and use it in GitHub Desktop.
Save rockos/74db6a09324ddfc7f0b40cb21eb69816 to your computer and use it in GitHub Desktop.
kidslab0625
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Maykid workshop</title>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" src="http://rockos.co.jp/js/kidslab_func.js"></script>
</head>
<body>
<h1>IT KidsLab Carbot Web</h1>
<div>
<button onclick="connect( 'ws://rockos.co.jp:3005/ws/sensor')">Connect</button>
<button onclick="disconnect()">Disconnect</button>
</div>
<div>
<div id="temperatureChart" style="width: 400px; height: 120px;"></div>
<div id="humidityChart" style="width: 400px; height: 120px;"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment