The following sample programs, found in the
參數(shù)資料
型號(hào): 101-0654
廠商: Rabbit Semiconductor
文件頁(yè)數(shù): 52/110頁(yè)
文件大小: 0K
描述: INTERFACE OP6800 W/ETHERNET 512K
標(biāo)準(zhǔn)包裝: 10
系列: SBC
模塊/板類(lèi)型: 單板計(jì)算機(jī)模塊
適用于相關(guān)產(chǎn)品: OP6800
42
MiniCom (OP6800)
5.2.5 LCD/Keypad Sample Programs Showing TCP/IP Features
The following sample programs, found in the TCPIP subdirectory in
SAMPLES/LCD_Keypad/122x32_1x7
, are targeted at the Ethernet-enabled versions of
the OP6800. Remember to configure the IP address, netmask, and gateway as indicated in
the sample programs.
MBOXDEMO.C
—This program implements a web server that allows Web e-mail messages
to be entered that are then shown on the LCD display. The keypad allows you to scroll
within messages, flip to other e-mails, mark messages as read, and delete e-mails.
When a new e-mail arrives, an LED turns on, and turns off once the message has been
marked as read. A log of all e-mail actions is kept, and can be displayed in the Web
browser. All current e-mails can also be read with the Web browser.
When using MBOXDEMO.C, connect the OP6800 and a PC (or other device with a Web
Browser) to an Ethernet. If you connect the PC and the OP6800 directly, be sure to use
a crossover Ethernet cable; straight-through Ethernet cables and a hub may be used
instead.
TCP_RESPOND.C
—This program and TCP_SEND.C are executed on two separate sin-
gle-board computers to demonstrate how the two boards communicate with each other.
Use PCSEND.EXE on the PC console side at the command prompt if you do not have a
second board. PCSEND.EXE is located with source code in the
SAMPLES/LCD_Keypad/Windows
directory.
TCP_RESPOND.C
waits for a message from another single-board computer. The mes-
sage received is displayed on the LCD, and you may respond by pressing a key on the
keypad. The response is then sent to the remote single-board computer.
TCPSEND.C
—This program and TCP_RESPOND.C are executed on two separate single-
board computers to demonstrate how the two boards communicate with each other. Use
PCRESPOND.EXE
on the PC console side at the command prompt if you do not have a
second board. PCRESPOND.EXE is located with source code in the
SAMPLES/LCD_Keypad/Windows
directory.
When a key on the keypad is pressed, a message associated with that key is sent to a
specified destination address and port. The destination then responds to that message.
The response is displayed on the LCD.
Note that only the LEFT and UP scroll keys are set up to cause a message to be sent.
When using TCPSEND.C and TCP_RESPOND.C, connect the OP6800 and the other single-
board computer to an Ethernet. If you connect the them directly, be sure to use a crossover
Ethernet cable; straight-through Ethernet cables and a hub may be used instead.
相關(guān)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
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0655 功能描述:開(kāi)發(fā)軟件 SNMP Module CD RoHS:否 制造商:Atollic Inc. 產(chǎn)品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
10106551-JCB64LF 功能描述:板對(duì)板與夾層連接器 TRX EXT H-7ZCND0982 JRC RoHS:否 制造商:JAE Electronics 系列:WP3 產(chǎn)品類(lèi)型:Receptacles 節(jié)距:0.4 mm 疊放高度:1 mm 安裝角: 位置/觸點(diǎn)數(shù)量:50 排數(shù):2 外殼材料:Plastic 觸點(diǎn)材料:Copper Alloy 觸點(diǎn)電鍍:Gold 電壓額定值:50 V 電流額定值:0.4 A
10106552-NFB71LF 功能描述:板對(duì)板與夾層連接器 NFB71LF10106552F.NEC RoHS:否 制造商:JAE Electronics 系列:WP3 產(chǎn)品類(lèi)型:Receptacles 節(jié)距:0.4 mm 疊放高度:1 mm 安裝角: 位置/觸點(diǎn)數(shù)量:50 排數(shù):2 外殼材料:Plastic 觸點(diǎn)材料:Copper Alloy 觸點(diǎn)電鍍:Gold 電壓額定值:50 V 電流額定值:0.4 A
10106555-002LF 制造商:FCI 功能描述:511-526F-USB 制造商:FCI 功能描述:OEM ITEM 511-526F-USB
101-0656 功能描述:開(kāi)發(fā)軟件 PPP Module CD RoHS:否 制造商:Atollic Inc. 產(chǎn)品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors