User`s manual
118 eDisplay (OP7200)
5.2.4 Running More Demo Programs With a Direct Connection
The sample programs discussed in this section use the Demonstration Board from the
OP7200 Tool Kit to illustrate their operation. Appendix C, “Demonstration Board Con-
nections,” contains diagrams of typical connections between the OP7200 and the Demon-
stration Board used to run these sample programs.
The program FLASH_XML.C (SAMPLES\OP7200\TCPIP\) runs a Web server that has
a Web page with a Macromedia Flash movie. You will need the Macromedia Flash plug-in
installed on your browser to use this sample program.
The program SMPTP.C (SAMPLES\OP7200\TCPIP\) uses the SMTP library to send an
e-mail when a switch on the Demonstration Board is pressed.
The program SSI.C (SAMPLES\OP7200\TCPIP\) demonstrates how to make the
OP7200 a Web server. This program allows you to turn the LEDs on an attached Demon-
stration Board from the Tool Kit on and off from a remote Web browser. LED1 and LED2
on the Demonstration Board will match those on the Web page. As long as you have not
modified the TCPCONFIG 1 macro in the sample program, enter the following server
address in your Web browser to bring up the Web page served by the sample program.
http://10.10.6.100
Otherwise use the TCP/IP settings you entered in the TCP_CONFIG.LIB library.
The sample program TELNET.C (SAMPLES\OP7200\TCPIP\) allows you to communi-
cate with the OP7200 using the Telnet protocol. This program takes anything that comes in
on a port and sends it out Serial Port B. It uses digital input IN0 to indicate that the TCP/IP
connection should be closed and high-current output OUT0 to indicate that there is an active
connection.You may change the digital input and output to suit your application needs.
Follow the instructions included with the sample program. Run the Telnet program on
your PC (Start > Run telnet 10.10.6.100). As long as you have not modified the
TCPCONFIG 1 macro in the sample program, the IP address is 10.10.6.100 as shown;
otherwise use the TCP/IP settings you entered in the TCP_CONFIG.LIB library. Each
character you type will be printed in Dynamic C's STDIO window, indicating that the
board is receiving the characters typed via TCP/IP.