Commit Graph

16 Commits

Author SHA1 Message Date
4c87af1991 Serial write actions should be blocking 2019-03-12 17:27:38 +01:00
eb9faa7593 Serial interface output tweaks 2019-03-12 16:44:59 +01:00
5c80e05263 Switch to USART2 so that serial communication actually works 2019-03-12 16:44:42 +01:00
e5b6a81841 Write button events to the serial port 2019-03-12 15:47:40 +01:00
07c4a3ccc6 Fix typos 2019-03-07 23:05:17 +01:00
9caf68f25a Split off all the led stuff into a separate module 2019-03-07 23:03:41 +01:00
6ce7d70613 Introduce a serial command interface via USART1 2019-03-07 22:41:59 +01:00
be76045635 Introduce the LedCycle struct to bundle a lot of led cycle functionality 2019-03-07 22:40:41 +01:00
e7d28453f9 Use TIM2 as the timer interrupt (for the switch_leds task) 2019-03-06 23:14:39 +01:00
b403ea00e0 Use hal::stm32::EXTI so it is directly available 2019-03-06 23:14:10 +01:00
c2f159b63f Add a flip() helper method for LedDirection; use it 2019-03-06 23:03:06 +01:00
c7f6c19e75 Add a UserButton type alias 2019-03-06 23:02:05 +01:00
d0216915c2 Add an interrupt to the user button; reverse LED cycle direction 2019-03-06 21:16:05 +01:00
283655e30e Just spawn switch_leds task; drop unused crate 2019-03-05 17:03:46 +01:00
66aff9a87d The rtfm example becomes the new main binary 2019-03-05 15:06:10 +01:00
ff21e58323 Initial import into Git 2019-03-05 15:04:26 +01:00