You need to log in to create posts and topics.

Wrong pin mapping for OC1A and OC1B on ATmega1284P

The output compare pins for Timer1 are incorrectly mapped

  • OC1A should be mapped to PD5

  • OC1B should be mapped to PD4

Now it's PD4 for OC1A and PD5 for OC1B which is incorrect. The same problem exists for every similar microcontroller.

Thanks for reporting.

You can fix it editing this file at line 42:
data/AVR/megaxx4/mxx4_perif.xml