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.
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.