baruch / b3603

Alternative firmware for the B3603
GNU General Public License v3.0
65 stars 34 forks source link

Set the OPT2 AFR0 bit from the code #6

Closed baruch closed 9 years ago

baruch commented 9 years ago

To make everything work we need the OPT2 AFR0 to be enabled so that PWM will work on the Timer1 Channel1 and Timer2 Channel1. To make installation easier it would be nice if the application took care of that at startup rather than rely on the programmer who may have forgotten it.

At the very least we need to read it and alert if it is turned off.