Sample programs are provided in the Dynamic C SAMPLES
參數(shù)資料
型號: 101-0575
廠商: Rabbit Semiconductor
文件頁數(shù): 49/106頁
文件大?。?/td> 0K
描述: COMPUTER SNGLBD BL2500 256K FLSH
標(biāo)準(zhǔn)包裝: 25
系列: SBC
模塊/板類型: 單板計算機(jī)模塊
適用于相關(guān)產(chǎn)品: BL2500
User’s Manual
41
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\BL2500 folder provides sample programs specific to the Coyote. 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 Coyote must be
in Program mode (see Section 3.6, “Serial Programming Cable”) and must be connected
to a PC using the programming cable as described in Section 2.2, “BL2500 Connections.”
More complete information on Dynamic C is provided in the Dynamic C User’s Manual.
4.2.1 General Coyote Operation
The following sample programs are found in the SAMPLES\BL2500.
CONTROLLED.C
—Uses the D/A converters to vary the brightness of the LEDs on the
Demonstration Board.
FLASHLEDS.C
—Uses cofunctions and costatements to flash LEDs on the Coyote at
different intervals.
TOGGLESWITCH.C
—Uses costatements to detect switches presses on the Demonstra-
tion Board with press and release debouncing. Corresponding LEDs will turn on or off.
4.2.2 Digital I/O
The following sample programs are found in the IO subdirectory in SAMPLES\BL2500.
DIGIN.C
—This program demonstrates the use of the digital inputs and the function
call digIn() using the Demonstration Board to see an input channel toggle from
HIGH to LOW when pressing a pushbutton on the Demonstration Board.
DIGOUT.C
—This program demonstrates the use of the digital outputs and the function
call digOut() using the Demonstration Board to see the logic levels of output chan-
nels in the STDIO window and the state of the corresponding LEDs on the Demonstra-
tion Board.
4.2.3 Serial Communication
The following sample programs are found in the SERIAL subdirectory in SAMPLES\BL2500.
FLOWCONTROL.C
—Demonstrates hardware flow control by sending a pattern of *
characters out of Serial Port E (PG6) at115,200 bps. One character at a time is received
from PG6 and is displayed. In this example, PG3 is configured as the CTS input,
detecting a clear to send condition, and PG2 is configured as the RTS output, signaling
a ready condition. This demonstration can be performed with either one or two boards.
相關(guān)PDF資料
PDF描述
20-101-0526 COMPUTER SNGLBD LP3510 FOX7.4MHZ
101-0526 COMPUTER SNGLBD LP3510 FOX7.4MHZ
101-0576 COMPUTER SNGLBD BL2510 256K FLSH
20-101-1055 MODULE RABBITCORE RCM3375
20-101-0434 MODULE RABBITCORE RCM2100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0576 功能描述:單板計算機(jī) BL2510 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
101-0577 功能描述:開發(fā)板和工具包 - 其他處理器 Programmers, Development Systems General Embedded Dev Boards and Kits (MCU, DSP, FPGA, CPLD) - KIT DEV FOR BL2500 COYOTE RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-0578 功能描述:開發(fā)板和工具包 - 其他處理器 BL25/OEM2500 DEVKIT INTERNTIONAL RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101-0580 功能描述:子卡和OEM板 RabbitLink Card RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
10-105808-02P 制造商:Amphenol Aerospace 功能描述:PLUG