串口接收字符串控制LED

所属分类:单片机开发
开发工具:C/C++
文件大小:6556KB
下载次数:4
上传日期:2020-05-28 21:53:36
上 传 者helipinga
说明:  串口接收字符串控制LED。通过STM32 串口1 接收字符串实现LED控制,程序通过判断\n识别字符串是否发送完成,所以串口调试助手上需勾选发送新行,发送LED1+ON点亮LED1,发送LED1+OFF关闭LED1,发送其他字符串翻转LED2。
(The serial port receives the string to control the LED. The LED string is controlled by receiving the string through STM32 serial port 1. The program recognizes whether the string is sent by judging \ n, so the serial debugging assistant needs to check the send new line, send LED1 + ON to light LED1, send LED1 + OFF to turn off LED1 Send other strings to flip LED2.)

文件列表:
CMSIS (0, 2018-08-05)
CMSIS\core_cm3.c (17273, 2010-06-07)
CMSIS\core_cm3.h (85714, 2011-02-09)
CMSIS\startup (0, 2018-08-05)
CMSIS\startup\startup_stm32f10x_cl.s (15766, 2011-03-10)
CMSIS\startup\startup_stm32f10x_hd.s (15503, 2011-03-10)
CMSIS\startup\startup_stm32f10x_hd_vl.s (15692, 2011-03-10)
CMSIS\startup\startup_stm32f10x_ld.s (12376, 2011-03-10)
CMSIS\startup\startup_stm32f10x_ld_vl.s (13656, 2011-03-10)
CMSIS\startup\startup_stm32f10x_md.s (12765, 2011-03-10)
CMSIS\startup\startup_stm32f10x_md_vl.s (14073, 2011-03-10)
CMSIS\startup\startup_stm32f10x_xl.s (15955, 2011-03-10)
CMSIS\stm32f10x.h (633941, 2011-03-10)
CMSIS\system_stm32f10x.c (36554, 2018-06-30)
CMSIS\system_stm32f10x.h (2085, 2011-03-10)
FWLIB (0, 2018-08-05)
FWLIB\inc (0, 2018-08-05)
FWLIB\inc\misc.h (8982, 2011-03-10)
FWLIB\inc\stm32f10x_adc.h (21690, 2011-03-10)
FWLIB\inc\stm32f10x_bkp.h (7555, 2011-03-10)
FWLIB\inc\stm32f10x_can.h (27559, 2011-03-10)
FWLIB\inc\stm32f10x_cec.h (6573, 2011-03-10)
FWLIB\inc\stm32f10x_crc.h (2162, 2011-03-10)
FWLIB\inc\stm32f10x_dac.h (15233, 2011-03-10)
FWLIB\inc\stm32f10x_dbgmcu.h (3818, 2011-03-10)
FWLIB\inc\stm32f10x_dma.h (20754, 2011-03-10)
FWLIB\inc\stm32f10x_exti.h (6824, 2011-03-10)
FWLIB\inc\stm32f10x_flash.h (25445, 2011-03-10)
FWLIB\inc\stm32f10x_fsmc.h (27016, 2011-03-10)
FWLIB\inc\stm32f10x_gpio.h (20175, 2011-03-10)
FWLIB\inc\stm32f10x_i2c.h (30029, 2011-03-10)
FWLIB\inc\stm32f10x_iwdg.h (3828, 2011-03-10)
FWLIB\inc\stm32f10x_pwr.h (4383, 2011-03-10)
FWLIB\inc\stm32f10x_rcc.h (30452, 2011-03-10)
FWLIB\inc\stm32f10x_rtc.h (3857, 2011-03-10)
FWLIB\inc\stm32f10x_sdio.h (21863, 2011-03-10)
FWLIB\inc\stm32f10x_spi.h (17725, 2011-03-10)
FWLIB\inc\stm32f10x_tim.h (52427, 2011-03-10)
FWLIB\inc\stm32f10x_usart.h (16548, 2011-03-10)
FWLIB\inc\stm32f10x_wwdg.h (2966, 2011-03-10)
... ...

近期下载者

相关文件


收藏者