altos: Switch PWM constants to end up exposing µsec
authorKeith Packard <keithp@keithp.com>
Sun, 10 Jan 2016 23:56:21 +0000 (15:56 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 10 Jan 2016 23:56:21 +0000 (15:56 -0800)
commita66e57e0e92cdbd3c6a10b835c50f55647c07351
treec9ee920c7c09a5e1ca4f3a25437026e26aeb5a11
parent4e29bcd07819415ebe44e22536305e9c51d9ae4c
altos: Switch PWM constants to end up exposing µsec

This changes the constants so the clock runs at 1MHz, making the step
1µsec each. Then make the period 20000 steps, or 20ms for a 50Hz
frequency as before.

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