stm32: morse timer: standardize example

Simplify, clarify and synchronize the two morse LED blinker examples.
Prepare for one day extracting the core as common morse example code.
This commit is contained in:
Karl Palsson
2016-12-17 00:21:19 +00:00
parent d2abd471a5
commit 9af2b8c7fb
4 changed files with 143 additions and 120 deletions

View File

@@ -1,14 +1,14 @@
# README
This example demonstrates the use of timers to trigger an interrupt. This
example will toggle two LEDs spelling out the following morse code:
example will toggle a LED spelling out the following morse code:
SOS -> ...---...
Where dots are .1s, dashes .2s, gaps .05s and the word pause .5s.
using international morse timing, with a dot element of 100ms
It's intended for the ST STM32F4DISCOVERY eval board. It should blink
the LEDs on the board.
a LED on the board.
## Board connections