<!DOCTYPE html>
<html lang="en">
<head>
   <meta charset="UTF-8">
   <title>Arduino Yun Ambient Light Sensor</title>
</head>
<body>
   <h1>
      Arduino Yun Ambient Light Sensor
   </h1>
   <p>
      Open dev tools console to view log output. 
   </p>

   <label for="thresholdValue">
      Light Level Threshold (0 for constant updates):
   </label>
   <input type="text" id="thresholdValue" value="50">
   <button id="setThreshold">
      Set Threshold
   </button>

   <script src="/shared/autobahn/autobahn.