Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
// 00 A off, toggle on compare // 00 B on, toggle on compare // 00 C on, toggle on compare
// 10 B on, toggle on compare
Oops, too much cut and paste. All the comments in the Init and Off sections should be 00 which is Off.
Also, go to page 104 of the ATmega168 Datasheet - www.atmel.com/dyn/resources/prod_documents/doc2545.pdf there is no option for "Phase and Frequency Correct" - however there are two different options for "Phase Correct"