Download I-7188E Software Manual
Transcript
2.2 Demo Programs for the 7188E Series We provide hundreds of demo programs for users. The source codes are all in the shipped CD. It is recommended to edit & modify these demo programs when starting user’s special applications. The demo programs can be classed as follows: Some of the demo programs designed for MiniOS7 are given as follows: Demo Description Hello Can run on PC or 8000, just use Print() to print: "*** Hello 8000 ***" Hello1 Demo for using functions: Is8000, GetLibVersion, Print Hello2 Demo for using C++ compiler. FILE Demo information in obtaining file information and file position in Flash memory. All file data is stored in Flash Memory. In MiniOS7, cannot use C's functions: fopen, fclose, fread, fwrite. BATCH An example of BATCH files (*.BAT). SCANF Demo for using LineInput and Scanf. RUNPROG Uses Ungetch to send commands to MiniOS7 to run another program DEMO90-98 Demos for using TIMER functions. Location: 7188e\MiniOS7\Demo\*.* Some typical TCP/IP demo programs are given as follows: Typical TCP/IP demo 7188E PC Ping demo Client, ping.exe None Telnet server demo Server, telserv.exe Client, telnet.exe Telnet server demo2 Server, telserv2.exe Client, telnet.exe Demo1: TCP/IP demo Server, demo1.exe Client, Client1.exe Demo2: TCP/IP demo Server, demo2.exe Client, Client1.exe Demo3: TCP/IP demo Server, demo3.exe Client, Client1.exe Location: 7188e\TCP\Other\*.* Refer to Sec. 4.7 for more TCP/IP demo program designed for Xserver. Refer to 7188e\document\TCPIPLib.pdf, 7188e\minios7\doc\index.htm and 7188e\document\WebLib.pdf for more information. Refer to sec. 5.2 for how to compile and link. 7188E Series Software User’s Manual, 2004, v2.1, 7MS-003-21 ----- 23