Commit graph

10 commits

Author SHA1 Message Date
Michael Hope b07a2f29a7 Enable interrupts before running.
Add an encoded version of the CPU frequency as a reference.
Set the centre to 150 now that the CPU frequency is correct.
2014-01-07 22:34:54 +01:00
Michael Hope f90a8ec73c Changed to a data register empty interrupt.
Shifted the first byte transmit to the interrupt handler.
2013-12-31 22:00:51 +01:00
Michael Hope e29071ce35 Tidy up after linting. 2013-12-28 19:33:13 +01:00
Michael Hope bc13ffacc3 Merge branch 'master' of ssh://juju.net.nz/~/git/nppilot
Conflicts:
	roverif/pwmin.cc
2013-12-28 19:32:44 +01:00
Michael Hope 8130dd353f Switched to 'high speed mode' as the UART divisor wasn't very accurate
at 38400 baud.
2013-12-28 19:26:54 +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 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