mirror of
https://github.com/eddyem/stm32samples.git
synced 2025-12-06 10:45:11 +03:00
8 lines
358 B
Markdown
8 lines
358 B
Markdown
Code for STM32F030F4 chinese board
|
|
USART Rx by interrupts, Tx by DMA
|
|
- Toggle onboard green LED once per second.
|
|
- Echo received by USART1 data (not more than 64 bytes including '\n') on B115200:
|
|
- if PA6 not connected to ground echo text directly
|
|
- otherwice echo it reversly
|
|
- Light up LED on PA5 (opendrain) when receive data and turn it off when send.
|