diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2014-03-16 14:31:22 +0200 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2014-03-16 14:31:22 +0200 |
| commit | ac4fd8e8340886f455add8cf92ee1c8458b8ae19 (patch) | |
| tree | fdeb96af9d57573855405fb5099468244772cd49 /boards/ek-tm4c1294xl/enet_io/fs/io_cgi.ssi | |
| parent | 821e3405f23958760f7c27e8934940abfed3d5cb (diff) | |
Add ek-tm4c1294xl example projects
Diffstat (limited to 'boards/ek-tm4c1294xl/enet_io/fs/io_cgi.ssi')
| -rw-r--r-- | boards/ek-tm4c1294xl/enet_io/fs/io_cgi.ssi | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/boards/ek-tm4c1294xl/enet_io/fs/io_cgi.ssi b/boards/ek-tm4c1294xl/enet_io/fs/io_cgi.ssi new file mode 100644 index 0000000..7957caf --- /dev/null +++ b/boards/ek-tm4c1294xl/enet_io/fs/io_cgi.ssi @@ -0,0 +1,146 @@ +<!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 2</title>
+ <link rel="stylesheet" type="text/css" href="styles.css" />
+ <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
+ <script src="javascript.js" language="JavaScript1.2" charset="utf-8"></script>
+</head>
+
+<body>
+<!--#FormVars-->
+ <div id="heading">
+ <table width="100%">
+ <tr>
+ <td>
+ <a id="heading_ti" target="_" href="http://www.ti.com">
+ <img src="ti.jpg" alt="Texas Instruments">
+ </a>
+ </td>
+ <td width="100%">
+ <div id="heading_h1">
+ Tiva™ C Series TM4C1294XL Development Kit
+ </div>
+ <div id="heading_h2">
+ EK-TM4C1294XL
+ </div>
+ </td>
+ <td>
+ <a id="heading_tiva" target="_" href="http://www.ti.com/tiva">
+ <img src="tm4c.jpg" alt="TM4C">
+ </a>
+ </td>
+ </tr>
+ </table>
+ <hr><hr>
+ </div>
+ <div id="menu">
+ <ul>
+ <li><a href="about.htm" id="about">About TI</a></li>
+ <li><a href="overview.htm" id="overview">Tiva™ C Series Overview</a></li>
+ <li><a href="block.htm" id="block">TM4C1294NCPDT Block Diagram</a></li>
+ <li><a target="_" href="http://www.ti.com/tool/ek-tm4c1294xl">EK-TM4C1294XL Product Page</a></li>
+ <li><a target="_" href="http://www.ti.com/tiva-c">Tiva™ TM4C129x Family Product Page</a></li>
+ <li><a href="io_http.htm" id="io_http">I/O Control Demo 1<br>(HTTP Requests)</a></li>
+ <li><a href="io_cgi.ssi" id="io_cgi">I/O Control Demo 2<br>(SSI/CGI)</a></li>
+ </ul>
+ <img src="ek-tm4c1294xl.jpg" alt="EK-TM4C1294XL">
+ </div>
+ <div id="content">
+ <table width="100%">
+ <tbody>
+ <tr>
+ <td align="left" valign="top" width="75%">
+ <center>
+ <h2 align="center">I/O Control Demo 2</h2>
+ </center>
+ <hr size="2" width="100%">
+ <ul></ul>This demonstration shows another method of performing control and status reporting. This time, we use Server Side Include tags to replace text in the page as it is being server from the Tiva C Series EK board and standard HTML forms to send data to a CGI handler
+ running on the board. This example does cause the page to be reloaded whenever form data is submitted but it involves less complex HTML to perform the task.
+ <br>
+ <br>
+ <table align="center" border="1" width="80%">
+ <tbody>
+ <tr>
+ <td>
+ <form method="get" action="iocontrol.cgi" name="iocontrol">
+ <table align="center" border="0" cellpadding="2" cellspacing="2" width="100%">
+ <tbody>
+ <tr>
+ <td align="left" valign="top">
+ <b>Control</b>
+ </td>
+ <td align="center" valign="top">
+ <b>Current</b>
+ </td>
+ <td align="center" valign="top">
+ <b>New</b>
+ </td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">LED State</td>
+ <td align="center" valign="top">
+ <!--#LEDtxt-->
+ </td>
+ <td align="center" valign="top">
+ <input name="LEDOn" value="1" type="checkbox">
+ </td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">Animation Speed</td>
+ <td align="center" valign="top">
+ <!--#speed-->
+ </td>
+ <td align="center" valign="top">
+ <input value="10" maxlength="3" size="4" name="speed_percent">
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" rowspan="1" align="center" valign="middle">
+ <input name="Update" value="Update Settings" type="submit">
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </form>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <ul></ul>
+ <br>
+ <table align="center" border="1" cellpadding="2" cellspacing="2" width="80%">
+ <tbody>
+ <tr>
+ <td align="left" valign="top">
+ <form method="get" action="settxt.cgi" name="settxt">
+ <table border="0" cellpadding="2" cellspacing="2" width="100%">
+ <tbody>
+ <tr align="center">
+ <td valign="top">
+ <b>Display this text over the UART:<br></b>
+ <input maxlength="40" size="40" name="DispText">
+ <input name="Display" value="Send Text" type="submit">
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </form>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <br>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div id="footing">
+ <hr><hr>
+ Copyright © 2013-2014 Texas Instruments Incorporated. All rights reserved.
+ </div>
+</body>
+</html>
|
