I'm using Nick Gammon's excellent timer/counter reference and am just curious to know where in the arduino IDE all the AVR bit values are defined?
Like WGM21, CS20, COM2B1 etc
TIA
I'm using Nick Gammon's excellent timer/counter reference and am just curious to know where in the arduino IDE all the AVR bit values are defined?
Like WGM21, CS20, COM2B1 etc
TIA
The timer section of the processor data sheet goes into great detail on this topic, and is an essential reference.
Why do you care where they are defined in the IDE?
where in the arduino IDE all the AVR bit values are defined?
They're actually part of the avr tools supplied by Atmel, and show up (for Uno) in
.../hardware/tools/avr/avr/include/avr/iom328p.h
perfect answer @westfw thank you. bump to yr karma