altos: Set TeleMega v2.0 PWM to support servos
authorKeith Packard <keithp@keithp.com>
Sun, 10 Jan 2016 23:44:08 +0000 (15:44 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 10 Jan 2016 23:45:21 +0000 (15:45 -0800)
commit4e29bcd07819415ebe44e22536305e9c51d9ae4c
treec341d335fea2ef397b8c730d96a056857e776fbb
parent54c20f1caf7f2e09284a9839cfa854d71f5634a2
altos: Set TeleMega v2.0 PWM to support servos

Typical servos use a 50Hz signal with less than 10% duty cycle. Set
the divider to 10 and the range to 64000 to provide a reasonable level
of detail down in the low range.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telemega-v2.0/ao_pins.h