APPENDIX A. CONTROL PROGRAM IN DYNAMIC C
/* Alltask.c
Andrew G. Chicoine
Novemb er 2001
This program is written for the Z-World BL2000.
This program multitasks the functions of the SMART robot:
1. Manual control.
2. GPS location and Compass heading updates.
3. Automatic GPS Navigation.
4. Stop Navigation Routine.
5. Serve Web page.
******************************************************/
//VARIABLE DEFINITIONS FOR I/O AND INTERNET CONNECTIONS
#define SERIAL_PORT_SPEED 115200
//Some network stuff
#define MY_IP_ADDRESS "131.120.101.81"
#define MY_NETMASK "255.255.240.0"
#define MY_GATEWAY "131.120.96.1"
#define MY_NAMESERVER "131.120.254.58"
#define MAX_SOCKETS 6
//MAPPING AND LIBRARY FILES TO USE
#memmap xmem
#use "dcrtcp.lib"
#use "vserial.lib"
#use "http.lib"
Comentarios a estos manuales