📄 abstract.txt
字号:
This program is a LEDSwitch Server example. It shows you how to control
embedded device from C++ application using TCP/IP connection. This can be
either an ethernet, SLIP or PPP link. This example opens an UDP and TCP
port for listening and waits for commands coming from PC Client or
another eval-board client application. The commands are used to control
LED diodes to switch them on and off.
In order to run this example, you need to set the network parameters to
match your local area network.
To test this example, run windows application LEDSwitch and type in
the ip address of your Embedded LEDSwitch Server into "Board IP"
edit box. Type also the number of transfer port into "Transfer port"
edit box. Select one of transfer protocol (TCP or UDP). When the P2
value in windows application is changed, this value is send to
eval-board and the LED on board should set as you specified in windows
application.
The same example can be tested also with another eval-board Client
connected to the same LAN.
The LEDSwitch example is available for several targets:
LM3S6965: Standalone application for Luminary LM3S6965 Board.
Program code is loaded into on-chip flash.
LM3S6965 Debug: Standalone Debug application. Debug level configured
in Net_Debug.c debug configuration file.
Connect a serial cable to RS232 SER0 port to view
output messages using HyperTerminal at 115200 baud,
8-bits, no parity, 1 stop bit, XON/XOFF.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -