Commit graph

11 commits

Author SHA1 Message Date
Michael Hope e1e56169b8 Bound the IMU into the rest of the interface and made it send. 2014-02-21 22:46:56 +01:00
Michael Hope bd796af05b Added more checks around the tick resolution.
Changed to match the new crystal.
Upped the baud rate to 57600.  12 MHz divides well to most rates...
2014-02-02 15:04:14 +01:00
Michael Hope ad1b6fdd54 Watch the PWMIn and process when the input changes, instead of on a
timer.
Split the different poll()s out into their own functions.
Add a prescaler on the tick timer to reduce the CPU load.
2013-12-30 19:03:04 +01:00
Michael Hope 1c629bf3c2 Added a tweak to calibrate the systick versus the RC oscillator. 2013-12-28 21:16:53 +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 6786609570 Add the PWM input system.
Switch to zero based to make the ranges easier.
Switch to a lower prescaler to give better fidelity.  Servo output is
now broken.
Send the input message on a timer.
2013-12-21 21:48:45 +01:00
Michael Hope 4d2c2acf80 Fix how escaped characters are modified.
Turn on receive interrupts.  Receive works!
Add a Python hack to test two way comms on the link.
Fix the red and green pin definitions.
2013-12-20 21:46:38 +01:00
Michael Hope 34928e2772 Add the transmit part of the serial link.
Expand the heartbeat to include time and state.
2013-12-17 21:47:44 +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 02a22b48bf Hack around so the roverif builds on the ATMEGA. 2013-12-16 21:20:15 +01: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