Hello,
I'm trying to develop a simple infrared remote-control transmitter, using an ATmega88A, assembler and the NEC modulation (please see https://www.mikrocontroller.net/articles/IRMP_-_english#NEC_+_extended_NEC for details on that).
My program isn't working correctly yet – after testing with a receiver failed, I connected a red LED to the output which produced the result that can be seen in the attached video: the LED blinks, but the transmission stretches out for circa one second, which is far too long – an NEC transmission should take about 60 ms.
I initially suspected wrong timer settings, but couldn't find any error. After reading through my code again and again, I decided to post it here in the hope that someone might have a look at it and maybe find the problem.
Thank you in advance for any help.
Best regards
– Johannes