Closed DoubleCouponDay closed 7 months ago
Try with Millis()/micros() disabled.
Thank you @hmeijdam , I can confirm that is working. Is there a dependency on timer 0 when using the millis() function?
Worth noting that
So had my crystal ball been working, obviously I wouldn't have named the second subcore in this core tinymodern because the next part families released would instead herald the coming of what I now call modern AVRs, (Microchip who as you know bought Atmel in the mid 2010's, has not provided any such official term, nor a converse term to call non-modern AVRs; I call them Classic AVRs). And if I'd had more of a clue I'd have not needed a second core at all, but I didn't know what I was doing way back then, other than that I wanted to make an ATtiny841 work on arduino because I wanted 2 serial ports and Software Serial Sucks.
The big push in addition to consistency between parts (in the form of all pins_arduino.h files being completely overhauled) with 2.0.0 is eliminating the "tinymodern" core which was nothing but trouble - the two had to be kept in sync, that never happened, and problems resulted.
Thanks @SpenceKonde for the in-depth answer.
I am using the following sketch with the ATTinyCore Board Manager targeting an ATTiny84A. When I try to compile the sketch I get the following error. If I use the
TIM1_OVF_vect
to interrupt on timer 1 instead, it compiles.In the
tiny
core in this repository, I found a second definition ofTIM0_OVF_vect
which conflicts with mine, preventing compilation. Thetinymodern
core does not seem to have this issue.My question is how can I use the
tinymodern
core to compile so that I can use timer 0 with an interrupt routine?