summaryrefslogtreecommitdiff
path: root/boards/dk-tm4c129x/enet_io/fs/io_http.htm
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-06-29 12:34:32 +0300
committerYuval Adam <yuv.adm@gmail.com>2014-06-29 12:34:32 +0300
commitc3e4c9a25c2910d2d66d52215b3406b13d5b23d5 (patch)
treeadded370d1e356901f8579f076e3263fb0464db7 /boards/dk-tm4c129x/enet_io/fs/io_http.htm
parent990090a4cc9070837d31e66b58d40f0c3d038741 (diff)
Add more board models
Diffstat (limited to 'boards/dk-tm4c129x/enet_io/fs/io_http.htm')
-rw-r--r--boards/dk-tm4c129x/enet_io/fs/io_http.htm63
1 files changed, 63 insertions, 0 deletions
diff --git a/boards/dk-tm4c129x/enet_io/fs/io_http.htm b/boards/dk-tm4c129x/enet_io/fs/io_http.htm
new file mode 100644
index 0000000..62c7c57
--- /dev/null
+++ b/boards/dk-tm4c129x/enet_io/fs/io_http.htm
@@ -0,0 +1,63 @@
+<!DOCTYPE HTML>
+<!-- Copyright (c) 2013 Texas Instruments Incorporated. All rights reserved. -->
+<html>
+
+ <head>
+ <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+ <title>I/O Control Demo 1</title>
+ <link rel="stylesheet" type="text/css" href="styles.css" />
+ <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
+ </head>
+
+ <body>
+ <table width="100%">
+ <tbody>
+ <tr>
+ <td align="left" valign="top" width="75%">
+ <center>
+ <h2 align="center">I/O Control Demo 1</h2>
+ </center>
+ <hr size="2" width="100%">
+ <p>This demonstration shows how to perform control and status reporting using HTTP requests embedded within Javascript code on the web page itself. Using this method, it is possible to update sections of text on the current page without the need to refresh the
+ entire page.</p>
+ <p>Toggle USER LED and report the state of the LED</p>
+ <table>
+ <tbody>
+ <tr>
+ <td>
+ <input id="toggle" value="Toggle LED" onclick="toggle_led();" type="button">
+ </td>
+ <td>USER LED:</td>
+ <td>
+ <div id="ledstate" align="center">-</div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <p></p>
+ <p>Set the speed of the animation on the display. Speed is expressed as a percentage.</p>
+ <table>
+ <tbody>
+ <tr>
+ <td>Current Speed:</td>
+ <td>
+ <div id="current_speed" align="center">-</div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <input id="speed_set" value="Set Speed" onclick="speedSet();" type="button">
+ </td>
+ <td>
+ <input maxlength="3" size="4" id="speed_percent" type="text">%</td>
+ </tr>
+ </tbody>
+ </table>
+ <p></p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+
+</html> \ No newline at end of file