參數(shù)資料
型號: 20-101-0542
廠商: Rabbit Semiconductor
文件頁數(shù): 58/138頁
文件大小: 0K
描述: CABLE 1.27MM FOR RCM3200
標(biāo)準(zhǔn)包裝: 1
附件類型: 編程纜線
適用于相關(guān)產(chǎn)品: 基于 Rabbit 3000 的產(chǎn)品,不包括 RCM30/3100、LP3500
產(chǎn)品目錄頁面: 620 (CN2011-ZH PDF)
其它名稱: 20-101-0542-ND
316-1180
20
RabbitCore RCM3200
3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM3200. Sample programs illustrating the general operation of the RCM3200, and
serial communication are provided in the SAMPLES\RCM3200 folder. Each sample pro-
gram has comments that describe the purpose and function of the program. Follow the
instructions at the beginning of the sample program.
CONTROLLED.C
—uses the STDIO window to demonstrate digital outputs by toggling
LEDs DS1 and DS2 on the Prototyping Board on and off.
Parallel Port G bit 6 = LED DS1
Parallel Port G bit 7 = LED DS2
Once you have compiled and run this program, you will be prompted via the Dynamic
C STDIO window to select LED DS1 or DS2. Use your PC keyboard to make your
selection.
Once you have selected the LED, you will be prompted to select to turn the LED either
ON or OFF. A logic low will light up the LED you selected.
FLASHLED1.c
—demonstrates the use of costatements to flash LEDs DS1 and DS2 on
the Prototyping Board at different rates. Once you have compiled and run this program,
LEDs DS1 and DS2 will flash on/off at different rates.
FLASHLED2.c
—demonstrates the use of cofunctions and costatements to flash LEDs
DS1 and DS2 on the Prototyping Board at different rates. Once you have compiled and
run this program, LEDs DS1 and DS2 will flash on/off at different rates.
TOGGLESWITCH.c
—demonstrates the use of costatements to detect switches using the
press-and-release method of debouncing. LEDs DS1 and DS2 on the Prototyping
Board are turned on and off when you press switches S2 and S3.
IR_DEMO.c
—Demonstrates sending Modbus ASCII packets between two Prototyping
Board assemblies via the IrDA transceivers with the IrDA transceivers facing each other.
Note that this sample program will only work with the RCM30/31/32XX Prototyping
Board.
First, compile and run this program on one Prototyping Board assembly, then remove
the programming cable and press the RESET button on the Prototyping Board so that
the first RabbitCore module is operating in the Run mode. Then connect the program-
ming cable to the second Prototyping Board assembly with the RCM3200 and compile
and run the same sample program. With the programming cable still connected to the
second Prototyping Board assembly, press switch S2 on the second Prototyping Board
to transmit a packet. Once the first Prototyping Board assembly receives a test packet, it
will send back a response packet that will be displayed in the Dynamic C STDIO win-
dow. The test packets and response packets have different codes.
Once you have loaded and executed these five programs and have an understanding of
how Dynamic C and the RCM3200 modules interact, you can move on and try the other
sample programs, or begin building your own.
相關(guān)PDF資料
PDF描述
M3CMK-5006R IDC CABLE - MKC50K/MC50M/MCG50K
M3AMK-5006R IDC CABLE - MSC50K/MC50M/MCG50K
M3TMK-4036R IDC CABLE - MSD40K/MC40M/MCG40K
RBM18DCMN CONN EDGECARD 36POS .156 WW
M3DMK-4036R IDC CABLE - MKR40K/MC40M/MCG40K
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0545 制造商:Digi International 功能描述:LP3500 PROTO BOARD - Boxed Product (Development Kits) 制造商:Digi International Inc 功能描述:PROTOTYPING BOARD FOR LP3500
20-101-0546 功能描述:單板計算機(jī) BL2130 Btm Mnt RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0551 功能描述:模塊化系統(tǒng) - SOM BL2110 W/IDCHEADERS RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0554 功能描述:模塊化系統(tǒng) - SOM BL2000 Btm Mnt RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0555 功能描述:單板計算機(jī) BL2000 Friction Lock RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm