-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TIMSK in examples/TrinketKnob #4
Comments
it can be anything based on your MCU. For example, Atmega8A has different timer than Atmega328, and each kind have 3 timers with some different in name. |
Thank you for bringing this up, it helped me figure out the error I was getting with the exact same line. |
I am getting an error with using the "TIMSK" as well. I am using the Trinket Pro (ATmega328). Changing it to "TIMSK0" can get it to compile, but it is not working correctly. Is the "TIMSK0" the same thing and should work the same? I am just wanting to make sure that is not the issue. |
In the example sketch, should'nt TIMSK be TIMSK0 at line 37?
At least my Arduino IDE complains about the former and accepts the latter.
The text was updated successfully, but these errors were encountered: