參數(shù)資料
型號(hào): 20-101-0436
廠商: Rabbit Semiconductor
文件頁(yè)數(shù): 60/100頁(yè)
文件大?。?/td> 0K
描述: MODULE RABBITCORE RCM2120
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM2120
產(chǎn)品目錄頁(yè)面: 620 (CN2011-ZH PDF)
其它名稱: 316-1087
56
RabbitCore RCM2100
6.10.2 Sample Program: ETHCORE1.C
The RCM2100 modules with Ethernet ports can act as micro Web page servers, with
dynamic interaction between the controller and the web pages. This sample program dem-
onstrates how a Web page can be used to both monitor and control an RCM2100 module.
Compile & Run Program
Open the sample program ETHCORE1.C. Press F9 to compile and run the program.
TIP: This program will be more interesting to observe if LEDs DS4 and DS5 are installed
on the Prototyping Board.
When the program starts, LEDs DS2, DS3 and DS5 will be lit, and DS4 will be dark.
Open a web browser and enter the IP address you defined for the RCM2100 module in the
program in the address window. A page like that shown in Figure 11 should appear.
Figure 11. Browser screen for Sample Program ETHCORE1.C
Clicking on each of the button images in the browser window will toggle the state of the
associated LED image, and will toggle the state of the corresponding LED on the Proto-
typing Board. Since the web page is generated by the RabbitCore module (using Dynamic
HTML), the LED image and the corresponding LED’s real state will always be in step.
Program Description
This program begins to show the range of applications for an Ethernet-enabled embedded
system controller, so let’s look closely at its operation.
As with PINGLED.C, several network addresses must be defined before this application
can work. The TCPCONFIG 1 macro in the sample program provides default settings for
MY_IP_ADDRESS
, which is the address of the RCM2100 module, MY_NETMASK, and
MY_GATEWAY
(which needs to be defined if you wish to reach the system from outside the
local network). These TCP/IP settings can be changed as needed in the TCP_CONFIG.LIB
library.
相關(guān)PDF資料
PDF描述
20-101-0404 MODULE RABBITCORE RCM2000
345-030-540-204 CARDEDGE 30POS DUAL .100 GREEN
345-030-540-202 CARDEDGE 30POS DUAL .100 GREEN
345-030-540-201 CARDEDGE 30POS DUAL .100 GREEN
046232412008800+ CONN FPC R ANGLE 1.0 MM 12 POS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0437 功能描述:子卡和OEM板 SR9205 16 in/8 out RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
20-101-0439 功能描述:模塊化系統(tǒng) - SOM SR9215 SRC 8IN 16OUT RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲(chǔ)容量:8 MB, 16 MB 存儲(chǔ)類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0440 功能描述:模塊配件 SR9510 Relay 8 RoHS:否 制造商:Lantronix 產(chǎn)品: 用于:
20-101-0444 功能描述:子卡和OEM板 SR9320 A/D 4-20mA RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
20-101-0445 功能描述:子卡和OEM板 SR9420 D/A Card RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit