文件名称:UART
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2015-05-28
- 文件大小:
- 147kb
- 下载次数:
- 0次
- 提 供 者:
- 陈*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
通过编程实现:通过串口输入,点亮Micro2440板子上的LED灯
输入“1+”(先输入1,然后再输入+),LED1亮;输入“1-”(先输入1,然后再输入-), LED1熄灭。
输入“2+” ,LED2亮;输入“2-” , LED2熄灭。
输入“3+” ,LED3亮;输入“3-” , LED3熄灭。
输入“4+” ,LED4亮;输入“4-” , LED4熄灭。
输入其他无关字符,则只回显,LED灯状态不变。
-Through the programming: through the serial port input, light the Micro2440 board on the LED
Enter 1+ (first input 1, then input+), LED1 light enter 1- (first input 1, then input-), LED1 extinguished.
Enter 2+ , LED2 light enter 2- , LED2 extinguished.
Enter 3+ , LED3 light enter 3- , LED3 extinguished.
Enter 4+ , LED4 light enter 4- , LED4 extinguished.
Enter the other independent characters, then only show that the status of the LED lamp is unchanged.
输入“1+”(先输入1,然后再输入+),LED1亮;输入“1-”(先输入1,然后再输入-), LED1熄灭。
输入“2+” ,LED2亮;输入“2-” , LED2熄灭。
输入“3+” ,LED3亮;输入“3-” , LED3熄灭。
输入“4+” ,LED4亮;输入“4-” , LED4熄灭。
输入其他无关字符,则只回显,LED灯状态不变。
-Through the programming: through the serial port input, light the Micro2440 board on the LED
Enter 1+ (first input 1, then input+), LED1 light enter 1- (first input 1, then input-), LED1 extinguished.
Enter 2+ , LED2 light enter 2- , LED2 extinguished.
Enter 3+ , LED3 light enter 3- , LED3 extinguished.
Enter 4+ , LED4 light enter 4- , LED4 extinguished.
Enter the other independent characters, then only show that the status of the LED lamp is unchanged.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UART实践2\ExtDll.iex
.........\Ext_RAM.ini
.........\JLinkArm_Target 1.ini
.........\List\s3c2440.lst
.........\....\test.map
.........\Obj\button.crf
.........\...\button.d
.........\...\button.o
.........\...\ExtDll.iex
.........\...\interrupt.crf
.........\...\interrupt.d
.........\...\interrupt.o
.........\...\isrservice.crf
.........\...\isrservice.d
.........\...\isrservice.o
.........\...\led.crf
.........\...\led.d
.........\...\led.o
.........\...\main.crf
.........\...\main.d
.........\...\main.o
.........\...\s3c2440.d
.........\...\s3c2440.o
.........\...\test.axf
.........\...\test.htm
.........\...\test.lnp
.........\...\test.plg
.........\...\test.sct
.........\...\uart.crf
.........\...\uart.d
.........\...\uart.o
.........\S3C2440.s
.........\src\button.c
.........\...\button.h
.........\...\interrupt.c
.........\...\interrupt.h
.........\...\isrservice.c
.........\...\isrservice.h
.........\...\led.c
.........\...\led.h
.........\...\main.c
.........\...\uart.c
.........\...\uart.h
.........\test.plg
.........\test.sct
.........\test.uvgui.Administrator
.........\test.uvgui.chenhaijin
.........\test.uvgui.CQY
.........\test.uvgui.HTX
.........\test.uvgui_Administrator.bak
.........\test.uvgui_chenhaijin.bak
.........\test.uvopt
.........\test.uvproj
.........\test_Target 1.dep
.........\test_uvopt.bak
.........\test_uvproj.bak
.........\List
.........\Obj
.........\src
UART实践2