This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to read the uart and ubdate in http_demo examble

hi, im doing project in lpc1768...i compiled the http_demo program and it is running...for my project i have to change the code such that it should read the uart port and should update it like AD converter in that examble....for doing where should i change the code?im trying to change in ad.cgi file but there i cant find by which variable it is updating the ad value...

  • Sounds like a school assignment.

    Maybe you should start by reading the code together with the user manual for the processor until you understands the code. What was your conclusion after having read the two chapters about ADC and UART in the processor manual? Isn't that information enough to figure out where the code picks up ADC samples and where it puts the readouts?