Does anyone knows if this example program works in Atmega328P?? I'm trying to make it work in an Arduino with Atmega328P but I'm having problems. Could it be a compatibility issue?? Maybe some registers are different or something related to the interrupts... I'm just thinking out loadly but if someone knows which can be the problem, or have an idea what may be the issue, I'm openned to any suggestion.
Thanks in advance,