Question
STM8L-Discovery example for sdcc: LEDs and Timer
Posted on October 23, 2014 at 23:03
I wrote a
that shows how to blink LEDs on a STM8L-Discovery using free tools only. It consists of a few lines of C code to set up a timer, implement clock(), and use it to blink the green LED exactly once per second and the blue LED exactly once every two seconds. The C code is compiled using sdcc 3.4.0 or newer and put onto the board using the free stm8flash utility. Please tell me if you find anything wrong or missing in the tutorial. Philipp