Jose Antonio Aguilera Acosta

UART + Dynamic HTML

Discussion created by Jose Antonio Aguilera Acosta on Apr 7, 2008
Latest reply on Apr 16, 2008 by Tim Myers
Hello,
 
I would like to show in a dynamic web page (using coldfire lite http server) a date inserted by UART port of MC5233DEMO.
 
The code used:
 
void collect_sensor_data( void )
{
.
.
.
 html_vars[3]  = getch();
.
.
.
}
 
It doesn't work. The funcion getch() always returns -1. ¿Do u have any idea? Thanks!
 
 

Outcomes