20-151-0178 Rabbit Semiconductor, 20-151-0178 Datasheet - Page 71

CABLE CONVERTER RS-232 TO USB

20-151-0178

Manufacturer Part Number
20-151-0178
Description
CABLE CONVERTER RS-232 TO USB
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-151-0178

Accessory Type
USB to RS232 Adapter
Product
Microcontroller Accessories
For Use With/related Products
Rabbit-based Boards
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-151-0178
316-1181
Programming your customized RabbitFlex board has been made both adaptable and as simple as possible.
The complexity of dealing with multiple hardware configurations has been hidden in the use of data struc-
tures in the Flex libraries. A number of sample programs are provided to illustrate the new data structures
and supporting software as well as to use for templates for your own application development.
In
fications to increase its functionality.
6.1 RabbitFLEX Sample Programs
This section summarizes sample programs specific to the RabbitFLEX BL300F. They are located in the
/Samples/RabbitFlex_BL300F folder (formerly named /Samples/RabbitFlex_SBC40)
where you installed Dynamic C.
RabbitFLEX User’s Manual
anain_avg_simple.c
anain_calibrate.c
anain_simple.c
anain_4_20_simple.c
anaout_calibrate.c
anaout_simple.c
digin_simple.c
digin_groups.c
digout_simple.c
Section 6.4
Program Name
a software walk-through is provided for the sample program speakertone.c with modi-
Table 6-1. RabbitFLEX BL300F Sample Programs
6. A
Continuously samples one user-specified analog input pin, displaying in
the Stdio window both the raw data from the analog signal and also
“averaged” raw data, meaning that noise and error are removed using a
weighted value. Both the raw data and the averaged raw data are
converted to volts. These values are also displayed.
Displays all analog inputs, prompting you to choose one of them to
calibrate, along with its low and high voltages. This sample overwrites
the factory calibration.
Continuously reads user-specified analog input pin, displaying both its
raw value and its converted voltage value.
Continuously reads a user-specified 4-20 mA analog input pin and
displays both its raw value and its converted amperage value.
Calibrate analog out pins. Requires you to measure output voltages.
This sample overwrites the factory calibration.
Accepts a raw value or voltage from the user and outputs it to the analog
out pin selected at compile time.
Display the value of a digital input.
Demonstrates software grouping capability. Displays all digital inputs,
then prompts for which inputs to group together.
Display the value of a digital output.
PPLICATIONS
www.rabbit.com
Description
P
ROGRAMMING
65

Related parts for 20-151-0178