The web pages for the Embedded Web Server are created in the same
way as the web pages for any other web server. You can use any text
editor to edit the HTML code. It is a good idea to preview the
page. Here are a few guidelines:
Design a web page in HTML code. You can add images and
java script functions as well.
If the web page needs to show dynamic values, code this
page in the script
language. You must also update the CGI callback function,
cgi_func(), accordingly. It
is a good practice to program the script code and cgi_func() in
parallel. Note that the module HTTP_CGI.c must be included
in your project.
If needed, draw or add images, which can be of type gif,
bmp, jpg, or png for example. A good choice is to select the image
type with the better compression because these files are
included in the code. Large image files might increase the
application code size by a large extent.
Add all the web files to the FCARM File Converter command
file and include the FCARM output C-file in your
project.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.