Sample programs are provided in the Dynamic C Samples
參數(shù)資料
型號: 101-0654
廠商: Rabbit Semiconductor
文件頁數(shù): 42/110頁
文件大?。?/td> 0K
描述: INTERFACE OP6800 W/ETHERNET 512K
標準包裝: 10
系列: SBC
模塊/板類型: 單板計算機模塊
適用于相關產品: OP6800
User’s Manual
33
4.3 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 OP6800 folder provides sample programs specific to the OP6800. 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), then compile
and run it by pressing F9. The OP6800 must be in Program mode (see Section 3.4) and
must be connected to a PC using the programming cable as described in Section 2.1.
More complete information on Dynamic C is provided in the Dynamic C User’s Manual.
TCP/IP specific functions are described in the Dynamic C TCP/IP User’s Manual. Infor-
mation on using the TCP/IP features and sample programs is provided in Section 5,
4.3.1 Board ID
The following sample program can be found in the SAMPLES\OP6800 subdirectory.
BOARD_ID.C
—Detects the type of single-board computer and displays the information
in the STDIO window. For the OP6800, the STDIO window should show OP6800.
4.3.2 Demonstration Board
The following sample programs are found in the DEMO_BD subdirectory in SAMPLES\OP6800.
BUZZER.C
—Demonstrates the use of the buzzer on the Demonstration Board. Remem-
ber to set the jumper across pins 1–2 of header JP1 on the Demonstration Board (see
Figure C-4) to enable the buzzer on. When you finish with BUZZER.C, it is recom-
mended that you reconnect the jumper across pins 2–3 of header JP1 on the Demonstra-
tion Board to disable the buzzer.
KEYPAD.C
—Flashes the LED above a keypad button when the corresponding keypad
button is pressed. The corresponding LED on the Demonstration Board will also flash
if a keypad button in the top row of the keypad is pressed. A message is also displayed
on the LCD.
SWITCHES.C
—Flashes the LED on the Demonstration Board and the OP6800 when
the corresponding pushbutton switch on the Demonstration Board is pressed. A mes-
sage is also displayed on the LCD.
相關PDF資料
PDF描述
046232108015800 CONN FFC/FPC 8POS 1MM VERT SMD
395-030-520-201 CARD EDGE 30POS DL .100X.200 BLK
20-101-0463 COMPUTER SINGLE-BOARD BL2120
20-101-1220 COMPUTER SINGLE-BOARD BL4S200
006200512230000+ CONN FFC/FPC 12POS 1MM R/A SMD
相關代理商/技術參數(shù)
參數(shù)描述
101-0655 功能描述:開發(fā)軟件 SNMP Module CD RoHS:否 制造商:Atollic Inc. 產品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
10106551-JCB64LF 功能描述:板對板與夾層連接器 TRX EXT H-7ZCND0982 JRC RoHS:否 制造商:JAE Electronics 系列:WP3 產品類型:Receptacles 節(jié)距:0.4 mm 疊放高度:1 mm 安裝角: 位置/觸點數(shù)量:50 排數(shù):2 外殼材料:Plastic 觸點材料:Copper Alloy 觸點電鍍:Gold 電壓額定值:50 V 電流額定值:0.4 A
10106552-NFB71LF 功能描述:板對板與夾層連接器 NFB71LF10106552F.NEC RoHS:否 制造商:JAE Electronics 系列:WP3 產品類型:Receptacles 節(jié)距:0.4 mm 疊放高度:1 mm 安裝角: 位置/觸點數(shù)量:50 排數(shù):2 外殼材料:Plastic 觸點材料:Copper Alloy 觸點電鍍:Gold 電壓額定值:50 V 電流額定值:0.4 A
10106555-002LF 制造商:FCI 功能描述:511-526F-USB 制造商:FCI 功能描述:OEM ITEM 511-526F-USB
101-0656 功能描述:開發(fā)軟件 PPP Module CD RoHS:否 制造商:Atollic Inc. 產品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors