Sample programs are provided in the Dynamic C Samples
參數(shù)資料
型號(hào): 20-101-0497
廠商: Rabbit Semiconductor
文件頁(yè)數(shù): 42/110頁(yè)
文件大小: 0K
描述: MODULE OP6810 W/O ETH/MEM EXPANS
標(biāo)準(zhǔn)包裝: 1
系列: SBC
模塊/板類型: 單板計(jì)算機(jī)模塊
適用于相關(guān)產(chǎn)品: OP6810
其它名稱: 20-101-497
20-101-497-ND
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.
相關(guān)PDF資料
PDF描述
20-101-0464 COMPUTER SINGLE-BOARD BL2130
SOMOMAP3503-21-1670AGCR SYSTEM ON MODULE LV OMAP3503
101-0600 COMPUTER SNGLBD BL2510 512K FLSH
101-0575 COMPUTER SNGLBD BL2500 256K FLSH
20-101-0526 COMPUTER SNGLBD LP3510 FOX7.4MHZ
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
201-01050 功能描述:鋁質(zhì)電解電容器 - 帶引線 1 uF Electrolytic Capacitor RoHS:否 制造商:Kemet 引線類型: 電容:220 uF 容差:20 % 電壓額定值:25 V 工作溫度范圍: 端接類型:Radial 外殼直徑:8 mm 外殼長(zhǎng)度:11 mm 引線間隔:5 mm 產(chǎn)品:General Purpose Electrolytic Capacitors 封裝:Bulk
201-0105-01 功能描述:印刷電路板和試驗(yàn)板 JTAG 20 Pin Connector RoHS:否 制造商:3M Electronic Solutions Division 產(chǎn)品:Jumper & Insulated Wires 描述/功能:Jumper wire, 22 AWG 0.1 inch 長(zhǎng)度:0.1 in 寬度:
20-101-0502 功能描述:處理器配件 Keypad/Display Unit 5V Panle Mount RoHS:否 制造商:Olimex Ltd. 產(chǎn)品:Cable 用于:
20-101-0504 功能描述:程序設(shè)計(jì)器配件 Cable KDU w/mount Hardware RoHS:否 制造商:Lattice 產(chǎn)品:ispDOWNLOAD Cables 用于:In-system Programming
20-101-0506 功能描述:單板計(jì)算機(jī) SR9160 CPU Card RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲(chǔ)容量:2 GB (max) 存儲(chǔ)類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm