- <div class="widget">
- <div class="title">PWM explained</div>
- <p>The frequency must be a decimal number greater than 0.</p>
- <p>
- The duty cycle describes the proportion of off/on time per period.
- This number is specified as a ratio, with values ranging from 0 to 1.
- </p>
- <p>
- The polarity determines if the duty represents the 'active
- high' or 'active low' portion. By default, the duty cycle
- represents the 'active high' portion.
- </p>
- </div>
- </div>
- <!-- End sidebar -->
-
- <div id="main">
- <div class="widget">
- <div class="title">Dashboard</div>
- <table>
- <tr>
- <td>
- GPIO <select id="gpio-menu"></select>
- <input type="button" id="gpio-go" value="Go">
- </td>
- <td>
- PWM <select id="pwm-menu"></select>
- <input type="button" id="pwm-go" value="Go">
- </td>
- </tr>
- </table>
-
- <div class="sub-title">Error log</div>
- <textarea id="errorlog" wrap="off" rows="4" cols="30" readonly></textarea>
+ </noscript>
+
+ <div id="content">
+ <div class="widget" id="sidebar-show">></div>
+ <div id="sidebar">
+ <div class="widget">
+ <div id="sidebar-hide"><</div>
+ <div class="title">Navigation menu</div>
+ <div id="sidebar-menu" class="nav-menu">
+ <ul>
+ <li><a href="index.html"><span>Home</span></a></li>
+ <li><a href="control.html"><span>Experiment control</span></a></li>
+ <li><a href="graph.html"><span>Experiment graphs</span></a></li>
+ <li><a href="values.html"><span>Experiment data (live)</span></a></li>
+ <li><a href="data.html"><span>Experiment data</span></a></li>
+ <li><a href="pintest.html"><span>Pin debugging</span></a></li>
+ <li class="last"><a href="help.html"><span>Help</span></a></li>
+ </ul>
+ </div>
+ </div>
+ <div class="widget">
+ <div class="title">Info</div>
+ <p>This test page gives control over the BBB's pins.
+ Select a pin that you wish to use from the relevant drop-down
+ menu and click 'Go'.</p>
+ <p>A new widget will appear with controls relevant to that pin.</p>
+ <p>Make sure to check the error log to see if something goes wrong.</p>
+ </div>
+ <div class="widget">
+ <div class="title">Pin out diagram</div>
+ <p>To see the pin out diagram of the BBB, click <a href="pinout-table.pdf" target="_blank">here</a>.</p>
+ </div>
+ <div class="widget">
+ <div class="title">Export/Unexport?</div>
+ <p>
+ To export/unexport a pin means to enable/disable it. Apart from the obvious
+ use case, sometimes this can be required if you use two PWM channels
+ that share the same frequency base.
+ </p>
+ <p>
+ You won't be able to change
+ the frequency until you unexport one of them.
+ </p>
+ </div>
+ <div class="widget">
+ <div class="title">PWM explained</div>
+ <p>The frequency must be a decimal number greater than 0.</p>
+ <p>
+ The duty cycle describes the proportion of off/on time per period.
+ This number is specified as a ratio, with values ranging from 0 to 1.
+ </p>
+ <p>
+ The polarity determines if the duty represents the 'active
+ high' or 'active low' portion. By default, the duty cycle
+ represents the 'active high' portion.
+ </p>
+ </div>