Digi BL1800 user manual Jackrabbit Sample Programs

Models: BL1800

1 94
Download 94 pages 15.6 Kb
Page 43
Image 43

4.2 Sample Programs

Sample programs are provided in the Dynamic C S A M P L E S folder.

The various folders contain specific sample programs that illustrate the use of the corre- sponding Dynamic C libraries. For example, the sample program PONG.C demonstrates the output to the Dynamic C STDIO window.

The SAMPLES\JACKRAB folder contains sample programs that illustrate features unique to the Jackrabbit.

Follow the instructions included with the sample program to connect the Jackrabbit and the other hardware identified in the instructions.

To run a sample program, open it with the File menu (if it is not still open), then compile and run it by selecting Run in the Run menu (or press F9). The Jackrabbit must be in Program Mode (programming cable is attached to programming port as shown in Figure 2) and must be connected to a PC using the programming cable.

More complete information on Dynamic C is provided in the Dynamic C User’s Manual.

The sample programs are listed in Table 4.

Table 4. Jackrabbit Sample Programs

DEMOJR1.C

DEMOJR2.C

DEMOJR3.C

JRIOTEST.C

JR_FLOWCONTROL.C

JR_PARITY.C

JRIO_COF.C

LCD_DEMO.C

RABDB01.C

RABDB02.C

The first five sample programs provide a step-by-step introduction to the Jackrabbit board. Additional sample programs illustrate more advanced topics.

User’s Manual

39

Page 43
Image 43
Digi BL1800 user manual Jackrabbit Sample Programs