Sample programs are provided in the Dynamic C SAMPLES
參數(shù)資料
型號: 20-101-0554
廠商: Rabbit Semiconductor
文件頁數(shù): 37/94頁
文件大?。?/td> 0K
描述: COMPUTER SNGL BD BL2000 BOTT MNT
標準包裝: 1
系列: SBC
模塊/板類型: 單板計算機模塊
適用于相關(guān)產(chǎn)品: BL2000
38
Wildcat (BL2000)
4.2 Sample Programs
Sample programs are provided in the Dynamic C SAMPLES folder. The sample program
PONG.C
demonstrates the output to the STDIO window. The various directories in the
SAMPLES
folder contain specific sample programs that illustrate the use of the correspond-
ing Dynamic C libraries.
The SAMPLES\BL2000 folder provides sample programs specific to the BL2000. Each
sample program has comments that describe the purpose and function of the program. Fol-
low the instructions at the beginning of the sample program.
To run a sample program, open it with the File menu (if it is not still open), compile it using
the Compile menu, and then run it by selecting Run in the Run menu. The BL2000 must
be in Program mode (see Section 3.8, “Programming Cable,”) and must be connected to a
PC using the programming cable as described in Section 2.1, “BL2000 Connections.”
More complete information on Dynamic C is provided in the Dynamic C User’s Manual.
4.2.1 General BL2000 Sample Programs
BOARD_ID.C
—This program is used to identify the model of BL2000 being used, and
displays that information in the STDIO window.
COUNTLEDS.C
—This program will count from 0 to 31 in binary, using the four gen-
eral-purpose LEDs, DS4–DS7, and the Processor Bad LED, DS8. The LEDs are used
in reverse logical order to minimize the cycling of the relay, which is slaved to the same
output as DS4.
LEDS_4.C
—This program creates four “devices” (lights), and four buttons to toggle
them. Users can view the devices with their Web browser, and change the status of the
lights. If the Demonstration Board is connected to the BL2000, the lights on the Dem-
onstration Board will match the ones on the Web page. See Appendix D for hookup
instructions for the Demonstration Board.
4.2.2 Digital I/O
The following sample programs are found in the IO subdirectory in SAMPLES/BL2000.
ANADIGIN.C
—Demonstrates using the A/D converter channels as digital inputs. You
will be able to see an input channel toggle HIGH and LOW when pressing the pushbut-
tons on the Demonstration Board. See Appendix D for hookup instructions for the
Demonstration Board.
DIGIN.C
—Demonstrates the use of the digital inputs. Using the Demonstration Board,
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
—Demonstrates the use of the high-current outputs. Using the Demonstra-
tion Board, you can see an LED toggle on/off via a high-current output. See Appendix
D for hookup instructions for the Demonstration Board.
LED.C
—Demonstrates how to toggle the output LEDs on the BL2000 on/off.
相關(guān)PDF資料
PDF描述
006200508130000+ CONN FFC/FPC 8POS 1MM R/A SMD
32FMN-BMTR-A-TB CONN FMN HSNG 32POS SGL REV SMD
32FMN-BMT-A-TF CONN FMN HSNG 32POS SNGL NOR SMD
006200512230000 CONN FFC/FPC 12POS 1MM R/A SMD
101-1051 MODULE MEMORY CORE RCM3365
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0555 功能描述:單板計算機 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
20-101-0556 功能描述:模塊化系統(tǒng) - SOM BL2000 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-0561 功能描述:模塊化系統(tǒng) - SOM RCM3400 Rabbit Core 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-0562 功能描述:模塊化系統(tǒng) - SOM RCM3410 RABBITCORE 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-0563 功能描述:模塊配件 RCM3400 PROTOTYPING BOARD RoHS:否 制造商:Lantronix 產(chǎn)品: 用于: