101-0463 Rabbit Semiconductor, 101-0463 Datasheet - Page 44

no-image

101-0463

Manufacturer Part Number
101-0463
Description
COMPUTER SINGLE BOARD BL2120
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0463

Module/board Type
Single Board Computer Module
For Use With/related Products
BL2120
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
4.2 Sample Programs
Sample programs are provided in the Dynamic C
PONG.C
The various directories in the
trate the use of the corresponding Dynamic C libraries.
The
gram has comments that describe the purpose and function of the program. Follow the
instructions at the beginning of the sample program.
To run a sample program, open it with the
using the
must be connected to a PC using the programming cable as described in Section 2.1,
“BL2100 Connections.”
More complete information on Dynamic C is provided in the Dynamic C User’s Manual.
TCP/IP specific functions are described in the Dynamic C TCP/IP User’s Manual. Infor-
mation on using the TCP/IP features and sample programs is provided in Section 5,
“Using the TCP/IP Features.”
4.2.1 Digital I/O
The following sample programs are found in the
4.2.2 Serial Communication
The following sample programs are found in the
38
DIGIN.C
you can see an input channel toggle from HIGH to LOW when pressing a pushbutton
on the Demonstration Board. See Appendix D for hookup instructions for the Demon-
stration Board.
DIGOUT.C
sinking or sourcing outputs. Using the Demonstration Board, you can see an LED tog-
gle on/off via a high-current output. See Appendix D for hookup instructions for the
Demonstration Board.
PWM.C
located on header J11/J10. The program generates a 42 Hz PWM signal with the duty
cycle adjustable from 1 to 99%.
PUTS.C
displays the serial data received from both ports in the
RELAYCHR.C
must be run with a serial utility such as Hyperterminal.
BL2100
demonstrates the output to the
Compile
—Demonstrates the use of Timer B to generate a PWM signal on PE5-INT
—Transmits and then receives an ASCII string on Serial Ports B and C. It also
—Demonstrates the use of the digital inputs. Using the Demonstration Board,
folder provides sample programs specific to the BL2100. Each sample pro-
—Demonstrates the use of the high-current outputs configured as either
—This program echoes characters over Serial Port B to Serial Port C. It
menu, and then run it by selecting
Samples
STDIO
folder contain specific sample programs that illus-
File
window.
menu (if it is not still open), compile it
RS232
IO
Samples
subdirectory in
Run
subdirectory in
STDIO
in the
folder. The sample program
Run
window.
SAMPLES\BL2100
menu. The BL2100
SAMPLES\BL2100
Smartcat (BL2100)
.
.

Related parts for 101-0463