#include "apps/httpd/httpd.h"\r
#include "apps/httpd/httpd-cgi.h"\r
#include "apps/httpd/httpd-fs.h"\r
+#include "mss_ace.h"\r
\r
#include <stdio.h>\r
#include <string.h>\r
{\r
extern long lParTestGetLEDState( unsigned long ulLED );\r
( void ) arg;\r
+ unsigned short usRawVoltage;\r
+ const ace_channel_handle_t xVoltageChannel = ( ace_channel_handle_t ) 0;\r
\r
/* Are the dynamically setable LEDs currently on or off? */\r
if( lParTestGetLEDState( 3 ) )\r
pcStatus = "";\r
}\r
\r
- sprintf( uip_appdata, "<input type=\"checkbox\" name=\"LED0\" value=\"1\" %s>LED<p><p>", pcStatus );\r
+ usRawVoltage = ( unsigned short ) ACE_get_ppe_sample( xVoltageChannel ); \r
+ sprintf( uip_appdata, "<input type=\"checkbox\" name=\"LED0\" value=\"1\" %s>LED<p><p><p>Raw voltage input is %d", pcStatus, usRawVoltage );\r
\r
return strlen( uip_appdata );\r
}\r