The following sample programs, found in the
參數(shù)資料
型號: 101-0497
廠商: Rabbit Semiconductor
文件頁數(shù): 52/110頁
文件大?。?/td> 0K
描述: MODULAR RABBIT CORE OP6810
標準包裝: 1
系列: RabbitCore®
模塊/板類型: 單板計算機模塊
適用于相關(guān)產(chǎn)品: OP6810
其它名稱: Q1912584
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描述
18FMN-BMTTN-A-TF CONN FMN HSNG 18POS STAG NOR SMD
101-0599 COMPUTER SNGLBD BL2500 512K FLSH
20-101-0497 MODULE OP6810 W/O ETH/MEM EXPANS
20-101-0464 COMPUTER SINGLE-BOARD BL2130
SOMOMAP3503-21-1670AGCR SYSTEM ON MODULE LV OMAP3503
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10104997-00C-10B 功能描述:高速/模塊連接器 XCEDE 2W 6PVH 6COL RoHS:否 制造商:Molex 系列:iPass 產(chǎn)品類型: 排數(shù): 列數(shù): 位置/觸點數(shù)量:38 安裝角:Right 節(jié)距:0.8 mm 安裝風(fēng)格:Plug 端接類型:SMD/SMT 外殼材料:Thermoplastic 觸點材料:High Performance Alloy (HPA) 觸點電鍍:Gold
10104997-00C-10DLF 功能描述:高速/模塊連接器 XCEDE 2W 6PVH 6COL RoHS:否 制造商:Molex 系列:iPass 產(chǎn)品類型: 排數(shù): 列數(shù): 位置/觸點數(shù)量:38 安裝角:Right 節(jié)距:0.8 mm 安裝風(fēng)格:Plug 端接類型:SMD/SMT 外殼材料:Thermoplastic 觸點材料:High Performance Alloy (HPA) 觸點電鍍:Gold
10104997-00C-20B 功能描述:高速/模塊連接器 XCEDE 2W LT 6PVH6COL RoHS:否 制造商:Molex 系列:iPass 產(chǎn)品類型: 排數(shù): 列數(shù): 位置/觸點數(shù)量:38 安裝角:Right 節(jié)距:0.8 mm 安裝風(fēng)格:Plug 端接類型:SMD/SMT 外殼材料:Thermoplastic 觸點材料:High Performance Alloy (HPA) 觸點電鍍:Gold
10104997-00C-20DLF 功能描述:高速/模塊連接器 XCEDE 2W 6PVH 6COL XCEDE 2 WALL HEADER RoHS:否 制造商:Molex 系列:iPass 產(chǎn)品類型: 排數(shù): 列數(shù): 位置/觸點數(shù)量:38 安裝角:Right 節(jié)距:0.8 mm 安裝風(fēng)格:Plug 端接類型:SMD/SMT 外殼材料:Thermoplastic 觸點材料:High Performance Alloy (HPA) 觸點電鍍:Gold
10104997-00C-30B 功能描述:高速/模塊連接器 XCEDE 6PR 6COL 2WALL RoHS:否 制造商:Molex 系列:iPass 產(chǎn)品類型: 排數(shù): 列數(shù): 位置/觸點數(shù)量:38 安裝角:Right 節(jié)距:0.8 mm 安裝風(fēng)格:Plug 端接類型:SMD/SMT 外殼材料:Thermoplastic 觸點材料:High Performance Alloy (HPA) 觸點電鍍:Gold