With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
// turn on CTC mode TCCR0A |= (1 << WGM01); // Set CS01 and CS00 bits for 64 prescaler TCCR0B |= (1 << CS01) | (1 << CS00); What is the TCCR0A register? TCCR0B must be the 3-bit one as illustrated (where you set the prescaler) but I don't recall any mention of the other one.
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.