Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of EasyWebCR by
webside.h
00001 /****************************************************************** 00002 ***** ***** 00003 ***** Name: webside.c ***** 00004 ***** Ver.: 1.0 ***** 00005 ***** Date: 07/05/2001 ***** 00006 ***** Auth: Andreas Dannenberg ***** 00007 ***** HTWK Leipzig ***** 00008 ***** university of applied sciences ***** 00009 ***** Germany ***** 00010 ***** adannenb@et.htwk-leipzig.de ***** 00011 ***** Func: example HTML-code for easyweb.c ***** 00012 ***** ***** 00013 ******************************************************************/ 00014 00015 // CodeRed - Example webpage updated 00016 00017 const unsigned char WebSide[] = { 00018 "<html>\r\n" 00019 "<head>\r\n" 00020 "<meta http-equiv=\"refresh\" content=\"1\">\r\n" 00021 "<title>easyWEB - dynamic Webside</title>\r\n" 00022 "</head>\r\n" 00023 "\r\n" 00024 "<body bgcolor=\"red\" text=\"#FFFF00\">\r\n" 00025 "<p><b><font color=\"#FFFFFF\" size=\"6\"><i>Hello World from Code Red Technology!</i></font></b></p>\r\n" 00026 "\r\n" 00027 "<p><b>This is a dynamic website hosted by the embedded Webserver</b> <b>easyWEB.</b></p>\r\n" 00028 "<p><b>Hardware:</b></p>\r\n" 00029 "<ul>\r\n" 00030 "<li><b>Code Red RDB1768 Development Board - NXP LPC1768 MCU with ARM Cortex-M3 CPU</b></li>\r\n" 00031 "<li><b>Embedded EMAC Ethernet Controller</b></li>\r\n" 00032 "</ul>\r\n" 00033 "\r\n" 00034 "<p><b>Variable value: AD8% (decimal value from 'val')</b></p>\r\n" 00035 "\r\n" 00036 "<table bgcolor=\"#ff0000\" border=\"5\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\">\r\n" 00037 "<tr>\r\n" 00038 "<td>\r\n" 00039 "<table width=\"AD7%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n" 00040 "<tr><td bgcolor=\"#00ff00\"> </td></tr>\r\n" 00041 "</table>\r\n" 00042 "</td>\r\n" 00043 "</tr>\r\n" 00044 "</table>\r\n" 00045 "\r\n" 00046 "<table border=\"0\" width=\"540\">\r\n" 00047 "<tr>\r\n" 00048 "<td width=\"25%\">0</td>\r\n" 00049 "<td width=\"25%\">256</td>\r\n" 00050 "<td width=\"25%\">512</td>\r\n" 00051 "<td width=\"25%\">768</td>\r\n" 00052 "<td width=\"25%\">1024</td>\r\n" 00053 //"<td width=\"15%\">2.5V</td>\r\n" 00054 //"<td width=\"15%\">3V</td>\r\n" 00055 "</tr>\r\n" 00056 "</table>\r\n" 00057 "\r\n" 00058 "<br><br><br><br>\r\n" 00059 "<table border=\"0\" width=\"500\">\r\n" 00060 "<tr>\r\n" 00061 "<td width=\"1%\"></td>\r\n" 00062 "<td width=\"60%\">\r\n" 00063 "<table bgcolor=\"red\" border=\"5\" cellpadding=\"0\" cellspacing=\"0\" width=\"350\">\r\n" 00064 "<tr>\r\n" 00065 "<td>\r\n" 00066 "<p><b><font color=\"#FFFFFF\" size=\"6\"><i>Page Count: AD1%</i></font></b></p>\r\n" 00067 "</td>\r\n" 00068 "</tr>\r\n" 00069 "</table>\r\n" 00070 "</td>\r\n" 00071 "</tr>\r\n" 00072 "</table>\r\n" 00073 "\r\n" 00074 "\r\n" 00075 "\r\n" 00076 "</body>\r\n" 00077 "</html>\r\n" 00078 "\r\n"}; 00079 00080 // Code Red - Original page removed 00081 /* 00082 const unsigned char WebSide[] = { 00083 "<html>\r\n" 00084 "<head>\r\n" 00085 "<meta http-equiv=\"refresh\" content=\"5\">\r\n" 00086 "<title>easyWEB - dynamic Webside</title>\r\n" 00087 "</head>\r\n" 00088 "\r\n" 00089 "<body bgcolor=\"#3030A0\" text=\"#FFFF00\">\r\n" 00090 "<p><b><font color=\"#FFFFFF\" size=\"6\"><i>Hello World!</i></font></b></p>\r\n" 00091 "\r\n" 00092 "<p><b>This is a dynamic webside hosted by the embedded Webserver</b> <b>easyWEB.</b></p>\r\n" 00093 "<p><b>Hardware:</b></p>\r\n" 00094 "<ul>\r\n" 00095 "<li><b>MSP430F149, 8 MHz, 60KB Flash, 2KB SRAM</b></li>\r\n" 00096 "<li><b>CS8900A Crystal Ethernet Controller</b></li>\r\n" 00097 "</ul>\r\n" 00098 "\r\n" 00099 "<p><b>A/D Converter Value Port P6.7:</b></p>\r\n" 00100 "\r\n" 00101 "<table bgcolor=\"#ff0000\" border=\"5\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\">\r\n" 00102 "<tr>\r\n" 00103 "<td>\r\n" 00104 "<table width=\"AD7%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n" 00105 "<tr><td bgcolor=\"#00ff00\"> </td></tr>\r\n" 00106 "</table>\r\n" 00107 "</td>\r\n" 00108 "</tr>\r\n" 00109 "</table>\r\n" 00110 "\r\n" 00111 "<table border=\"0\" width=\"500\">\r\n" 00112 "<tr>\r\n" 00113 "<td width=\"20%\">0V</td>\r\n" 00114 "<td width=\"20%\">0,5V</td>\r\n" 00115 "<td width=\"20%\">1V</td>\r\n" 00116 "<td width=\"20%\">1,5V</td>\r\n" 00117 "<td width=\"20%\">2V</td>\r\n" 00118 "</tr>\r\n" 00119 "</table>\r\n" 00120 "\r\n" 00121 "<p><b>MCU Temperature:</b></p>\r\n" 00122 "\r\n" 00123 "<table bgcolor=\"#ff0000\" border=\"5\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\">\r\n" 00124 "<tr>\r\n" 00125 "<td>\r\n" 00126 "<table width=\"ADA%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n" 00127 "<tr><td bgcolor=\"#00ff00\"> </td></tr> \r\n" 00128 "</table>\r\n" 00129 "</td>\r\n" 00130 "</tr>\r\n" 00131 "</table>\r\n" 00132 "\r\n" 00133 "<table border=\"0\" width=\"500\">\r\n" 00134 "<tr>\r\n" 00135 "<td width=\"20%\">20�C</td>\r\n" 00136 "<td width=\"20%\">25�C</td>\r\n" 00137 "<td width=\"20%\">30�C</td>\r\n" 00138 "<td width=\"20%\">35�C</td>\r\n" 00139 "<td width=\"20%\">40�C</td>\r\n" 00140 "</tr>\r\n" 00141 "</table>\r\n" 00142 "</body>\r\n" 00143 "</html>\r\n" 00144 "\r\n"}; 00145 */
Generated on Tue Jul 12 2022 18:57:49 by
