User’s Manual
11
3. RUNNING SAMPLE PROGRAMS
To develop and debug programs for the RCM2200 (and for all
other Rabbit hardware), you must install and use Dynamic C.
This chapter provides a tour of the sample programs for the
RCM2200.
3.1 Sample Programs
To help familiarize you with the RCM2200 modules, several sample Dynamic C programs
have been included. Loading, executing and studying these programs will give you a solid
hands-on overview of the RC M2200’s capabilities, as well as a quick start with Dynamic C
as an application development tool. These programs are intended to serve as tutorials, but
then can also be used as starting points or building blocks for your own applications.
NOTE: It is assumed in this section that you have at least an elementary grasp of ANSI C.
If you do not, see the introductory pages of the Dynamic C User’s Manual for a sug-
gested reading list.
Each sample program has comments that describe the purpose and function of the program.
Before running any of these sample program, make sure that your RCM2200 is connected
run a sample program, open it with the File menu (if it is not already open), then compile
and run it by pressing F9 or by selecting Run in the Run menu.
Sample programs are provided in the Dynamic C SAMPLES folder. Two folders contain
sample programs that illustrate features unique to the RCM2200.
RCM2200
—Demonstrates the basic operation and the Ethernet functionality of the
RCM2200.
TCPIP
—Demonstrates more advanced TCP/IP programming for Rabbit’s Ethernet-
enabled Rabbit-based boards.
Complete information on Dynamic C is provided in the Dynamic C User’s Manual.