Open kostyamat opened 5 years ago
This is not a fully comptible version. Timer1 is now configured for PWM functions, I have configure timer2 for time base generation (which is timer1 in original arduino). But I have configure timer2 to keep the comptiblity. I will do some tests. P.S, if you do not care about PWM extension, you can try a more compatible version attahced.
Hey. I compiled a sketch that worked perfectly on the original Atmega328. I see that the delay() function does not work at all, and millis() behaves very strangely, instead of the interval of 15 seconds, I get about 30. How can I properly configure the MCU?