//First clear all three prescaler bits:int prescalerVal = 0x07; //create a variable called prescalerVal and set it equal to the binary number "00000111"TCCR0B &= ~prescalerVal; //AND the value in TCCR0B with binary number "11111000"//Now set the appropriate prescaler bits:int prescalerVal = 1; //set prescalerVal equal to binary number "00000001"TCCR0B |= prescalerVal; //OR the value in TCCR0B with binary number "00000001"
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16