20-101-1246 Rabbit Semiconductor, 20-101-1246 Datasheet - Page 74

CORE MODULE RCM5400W

20-101-1246

Manufacturer Part Number
20-101-1246
Description
CORE MODULE RCM5400W
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1246

Module/board Type
MPU Core Module
Wireless Frequency
73.73 MHz
For Use With/related Products
RCM5400W
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1148
6.2.5 RCM5400W Sample Programs
The following sample programs are in the Dynamic C
folder.
68
The data passed to the callback function are ephemeral since another scan may occur.
Thus, the data need to be used (or copied) during the callback function.
While waiting for user input, it is important to keep the network alive by calling
tcp_tick(NULL)
BROWSELED.C
Two “device LEDs” are created along with two buttons to toggle them. Users can use
their Web browser to change the status of the lights. The DS2 and DS3 LEDs on the
Prototyping Board will match those on the Web page. As long as you have not modified
the
your Web browser to bring up the Web page served by the sample program. Remember
to configure the access point to match the default settings of the
Otherwise use the TCP/IP settings you entered in the
Options > Project Options menu
PINGLED.C
LED DS2 on the Prototyping Board when a ping is sent and it will flash LED DS3
when a ping is received.
Before you compile and run this sample program, change
want to ping. You may modify
milliseconds between the outgoing pings.
Uncomment the VERBOSE define to see the incoming ping replies.
PINGLED_STATS.C
receiver/transmitter statistics in the Dynamic C
Before you compile and run this sample program, change
want to ping. You may modify
milliseconds between the outgoing pings.
Modify the value in the
ing of the statistics. Also review the
which affect the number of samples to gather and create a bar graph display instead of a
numeric display.
Uncomment the
http://10.10.6.100.
TCPCONFIG 1
—This program demonstrates ICMP by pinging a remote host. It will flash
—This program demonstrates a basic controller running a Web page.
VERBOSE
macro in the sample program, enter the following server address in
regularly.
—This program is similar to
MOVING_AVERAGE
define to see the incoming ping replies.
PING_DELAY
PING_DELAY
.
GATHER_INTERVAL
macro to change the moving average filter-
define to change the amount of time in
define to change the amount of time in
STDIO
PINGLED.C
SAMPLES\RCM5400W\TCPIP\
in the “Defines” tab in the Dynamic C
window.
and
PING_WHO
PING_WHO
GRAPHICAL
, but it also displays
TCPCONFIG 1
RabbitCore RCM5400W
to the host you
to the host you
macros,
macro.

Related parts for 20-101-1246