abstract.txt
来自「基于lm3s6965的LEDSwitch示例代码,对初学者特别有帮助。」· 文本 代码 · 共 32 行
TXT
32 行
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 + =
减小字号Ctrl + -
显示快捷键?