Commit graph

10 commits

Author SHA1 Message Date
Michael Hope 93f6b12759 Set the servos based on what is in control. 2014-01-05 16:21:28 +01:00
Michael Hope 4bef38a92a Dropped the configuration from PWMIn. Instead, use the whole of PORTB.
Added a counter that bumps when channel 0 changes.
2013-12-30 19:00:53 +01:00
Michael Hope afb95d1721 Fixed the initilisation of the pin on PWMIn. 2013-12-29 21:07:58 +01:00
Michael Hope 7a69136569 Change to an easier to understand 'Missing'. 2013-12-29 18:47:32 +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 1454c8bf7b Use the whole of PORTB for the PWM inputs.
Enable the pullups to stop noise turning into a PWM count.
Add a constant for invalid input.
2013-12-28 19:25:56 +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 02a22b48bf Hack around so the roverif builds on the ATMEGA. 2013-12-16 21:20:15 +01:00
Michael Hope 9cf69f7866 Split the rover out into multiple less embarrising files. 2012-07-27 21:49:05 +12:00