Sample programs are provided in the Dynamic C Samples
參數(shù)資料
型號: 101-0530
廠商: Rabbit Semiconductor
文件頁數(shù): 86/142頁
文件大?。?/td> 0K
描述: KIT TOOL FOR LP3500 INTL
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 3000
類型: 單板計算機(SBC)
適用于相關(guān)產(chǎn)品: 基于 Rabbit 3000 的產(chǎn)品,不包括 RCM30/3100、LP3500
所含物品: 演示板,串行線纜,軟件和文檔
42
Fox (LP3500)
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 illus-
trate the use of the corresponding Dynamic C libraries.
The LP3500 folder provides sample programs specific to the LP3500. 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.
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 LP3500
must be in the Program mode (see Section 3.9, “Serial Programming Cable”) and must be
connected to a PC using the programming cable as described in Section 2.1, “LP3500
Appendix F, “Running a Sample Program,” takes you through the steps of running one of
the sample programs.
4.2.1 Power Modes
The following sample program is found in the POWER subdirectory in SAMPLES\LP3500.
POWER.C
—This program demonstrates switching from the normal raw DC power
source to an external battery using the Prototyping Board. Pressing a switch will
change from the power source and will be displayed by flashing LEDs.
LOWPWRDEMO.C
—This program demonstrates a low-power mode with the normal power
source connected to the LP3500.
4.2.2 Digital I/O
The following sample programs are found in the IO subdirectory in SAMPLES\LP3500.
DIGIN.C
—Demonstrates the use of the digital inputs. Using the Prototyping Board, you
can see an input channel toggle from HIGH to LOW when pressing a pushbutton on the
Prototyping Board.
DIGOUT.C
—Demonstrates the use of the high-current outputs configured as either sink-
ing or sourcing outputs. Using the Prototyping Board, you can see an LED toggle
on/off via a high-current output.
DIGBANKIN.C
—Demonstrates the use of the digital inputs. Using the Prototyping
Board, you can see a bank of input channels toggle from HIGH to LOW when pressing
a pushbutton on the Prototyping Board.
DIGBANKOUT.C
—Demonstrates the use of the high-current outputs configured as either
sinking or sourcing outputs. Using the Prototyping Board, you can see a bank of chan-
nels toggle the corresponding LEDs on/off via high-current outputs.
相關(guān)PDF資料
PDF描述
0210390926 CABLE JUMPER 1MM .102M 23POS
ECM18DTBS CONN EDGECARD 36POS R/A .156 SLD
LFXP10C-L-EV BOARD EVAL LATTICEXP10C STD
ECM18DTAS CONN EDGECARD 36POS R/A .156 SLD
AT91SAM7X-EK KIT EVAL FOR AT91SAM7X256/128
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0531 功能描述:單板計算機 BL2101 0-10V A/D 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
10-105310-02P 制造商:Amphenol Aerospace 功能描述:RECEPT
10-105310-02S 制造商:Amphenol Aerospace 功能描述:RECEPT
10-105318-11P 制造商:Amphenol Aerospace 功能描述:RECEPT
10-105318-11S 制造商:Amphenol Aerospace 功能描述:RECEPT