Sample programs are provided in the Dynamic C Samples
參數資料
型號: 101-0526
廠商: Rabbit Semiconductor
文件頁數: 86/142頁
文件大?。?/td> 0K
描述: COMPUTER SNGLBD LP3510 FOX7.4MHZ
標準包裝: 10
系列: SBC
模塊/板類型: 單板計算機模塊
適用于相關產品: LP3510
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.
相關PDF資料
PDF描述
101-0576 COMPUTER SNGLBD BL2510 256K FLSH
20-101-1055 MODULE RABBITCORE RCM3375
20-101-0434 MODULE RABBITCORE RCM2100
046232103103800 CONN FFC/FPC 3POS 1MM R/A SMD
355-030-521-204 CARDEDGE 30POS DL .156 LOPRO BLK
相關代理商/技術參數
參數描述
101-0529 功能描述:開發(fā)板和工具包 - 其他處理器 LP3500 Tool Kit RoHS:否 制造商:Freescale Semiconductor 產品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101053 制造商:RUKO 功能描述:Bulk
101-0530 功能描述:開發(fā)板和工具包 - 其他處理器 LP3500 TOOLKIT Univr RoHS:否 制造商:Freescale Semiconductor 產品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
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