add USART snippet (Rx by USART interrupts, Tx by DMA; double buffering for both Tx/Rx)

This commit is contained in:
eddyem
2018-11-05 22:00:52 +03:00
parent 7886dce593
commit 13f2c3a588
7 changed files with 115 additions and 37 deletions

View File

@@ -1,5 +1,4 @@
Toggle LEDs (PB8/PB9) on STM32F103 development board depending on buttons PC0,PC1:
- no buttons pressed == 'SOS' in Morze @ LED D1
- Button S2 pressed - D1 blinks with period of 5s
- Button S1 pressed - D2 blinks with period of 1s
Toggle LED PB9 on STM32F103 development board once per second
Allow to turn on/off LED PB8 depending on user commands over USART (0/1) and check its state (s)
Show information in USART console about S2/S3 buttons pressed
USART: 115200 8n1