Commit graph

25 commits

Author SHA1 Message Date
Michael Hope 657e04fdd4 Fixed an overflow where the intermediate is greater than UINT16_MAX. 2014-02-02 15:15:12 +01:00
Michael Hope 493dd1efb0 Changed all timer ticks to milliseconds to make it more readable. 2013-12-30 19:20:56 +01:00
Michael Hope 577c332af1 Add a helper to accuratly round a timer interval.
Switch to a request model for unusual messages.
Add reporting of the long version.
2013-12-28 21:19:24 +01:00
Michael Hope adb805860e Updated everything to the Google style (yay cpplint!).
Deleted the unused code.
2013-12-27 21:35:37 +01:00
Michael Hope ff22d9982b Reworking the roverif to be more suited to the ATMEGA. 2013-12-17 20:48:07 +01:00
Michael Hope 7869860944 Hack around the lack of initializer_list on the AVR. 2013-12-16 21:22:34 +01:00
Michael Hope 117306c873 Fixed up the tests.
Added tests for the Debug log routines.
2013-07-04 21:20:45 +02:00
Michael Hope b0368f7af0 Added debug routines.
Split the board specific code into a HAL API.
Added a POSIX HAL and hacked everything over to it.
2013-07-04 20:56:38 +02:00
Michael Hope 6fc685bc2a Added debug routines.
Split the board specific code into a HAL API.
Added a POSIX HAL and hacked everything over to it.
2013-07-04 20:55:01 +02:00
Michael Hope 33d5785e77 Change Timer to a class as it is. 2012-07-28 22:13:29 +12:00
Michael Hope 211d2ab84c Added a analogue switch with hysteresis. 2012-07-28 22:12:35 +12:00
Michael Hope 71d2dcb231 Promoted the blinker and added tests. 2012-07-28 19:21:37 +12:00
Michael Hope f056c2cac6 Pushed the USB transmission into a helper class. 2012-07-25 21:04:45 +12:00
Michael Hope 88f059dde3 Switched to a function based dispatch. 2012-07-25 21:04:17 +12:00
Michael Hope 3a00f09a0b Added a ring buffer. 2012-07-25 21:02:27 +12:00
Michael Hope 61f730830c Made the timer names less magic. Added comments. 2012-07-22 19:23:12 +12:00
Michael Hope f0583b4431 Follow up in the main code from the COBS changes. 2012-07-22 19:15:30 +12:00
Michael Hope 1b585f0c35 Flesh out the decoder and add tests. 2012-07-22 19:10:13 +12:00
Michael Hope 460838e62f Added a COBS encoder and basic protocol. 2012-07-21 21:13:57 +12:00
Michael Hope 353206f268 Added basic PWM capture support and printing. 2012-07-18 21:21:01 +12:00
Michael Hope c2845e9da0 Added a Doxygen file and some basic comments. 2012-07-17 22:23:25 +12:00
Michael Hope 043c68448b Added timers and a global switcher to the main example. 2012-07-17 21:35:33 +12:00
Michael Hope bd21963e3b Added timers. 2012-07-17 21:34:42 +12:00
Michael Hope eceb9bbdb6 Added the switcher. 2012-07-17 20:48:03 +12:00
Michael Hope 0319168a3e Added a basic bit array. 2012-07-16 20:40:06 +12:00