Files
libopencm3-examples/examples/stm32/f4/stm32f4-discovery/timer
Piotr Esden-Tempski 4de8d15303 [stm32f4-discovery] Using WFI instead of nop in the main loop.
WFI (Wait for Interrupt) tells the processor to suspend untill the next
interrupt is called. Better than burning away the cycles with nop.
2015-02-13 16:41:18 -08:00
..

README

This example demonstrates the use of timers to trigger an interrupt. This example will toggle two LEDs spelling out the following morse code:

SOS -> ...---...

Where dots are .1s, dashes .2s, gaps .05s and the word pause .5s.

It's intended for the ST STM32F4DISCOVERY eval board. It should blink the LEDs on the board.

Board connections

none required