User manual
LPCXpresso Experiment Kit - User’s Guide
Page 130
Copyright 2013 © Embedded Artists AB
If you get replies as shown above everything is working. If not then go back to ethmac.h and tcpip.h
and verify that the addresses you have selected are correct.
Now open a web browser and enter your selected IP number in the address field. You should get a
page similar to this.
Figure 71 – Web Page Screenshot
The page is continuously updated - page count is increasing and the colored bar is changing value.
This is accomplished by having a static web page with a couple of fields that are updated before the
page is sent to the browser. The static page is declared in webside.h:
const unsigned char WebSide[] = {
"<html>\r\n"
"<head>\r\n"
"<meta http-equiv=\"refresh\" content=\"1\">\r\n"
"<title>easyWEB - dynamic Webside</title>\r\n"
"</head>\r\n"
"\r\n"
...
The dynamic content comes from the InsertDynamicValues() function in easyweb.c. It locates and
replaces the markers in the WebSide[] data.
Suggested changes:
Change colors on the page
Make the colored bar decrease instead of increase
Add a second bar and let the two bars represent the values on the two trimming
potentiometers.
Read and present the current temperature
7.20.2 Lab 19b: lwIP TCP/IP Stack, Web Server and FreeRTOS
1) Go to FreeRTOS+IO and FreeRTOS+CLI demo2
2) Download the projects, LPC1769_FreeRTOS_Plus_Featured_Demo_002.zip
3) Create a new workspace and import the contents of the downloaded zip file