mod01 ex02 works
This commit is contained in:
@@ -72,7 +72,7 @@ int main() {
|
||||
// -> Table 16-4 : use bit WGM12 to set mode ctc
|
||||
// -> 16.11.2 : bit WGM12 is located in register TCCR1B
|
||||
|
||||
TCCR1A |= (1 << COM1A0 ) ; // Enable timer 1 Compare Output channel A in toggle mode
|
||||
TCCR1A |= (1 << COM1A0); // enable timer 1 Compare Output channel A in toggle mode
|
||||
// -> Table 14-3 : alternate functions for PORTB1 is OC1A (Timer/Counter1 Output Compare Match A Output)
|
||||
// -> 14.3.1 : OC1A/PCINT1 – Port B, Bit 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user