Atmega644 with Trackuino
I bought the ATmega644 from GitHub - MCUdude/MightyCore: Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535 at tindie.com
I am trying to setup Trackuino with Atmega 644 (GitHub - MCUdude/MightyCore: Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535 )
It is not working with any of PWM Atmega644 pins, i’ve tried changing AUDIO_PIN to different PWM pins, but no luck.
It doesn’t work for me by putting AUDIO_PIN on pin 3 or pin 11, I have looked a bit at the GitHub - johnboiles/trackuino: The Arduino APRS Tracker code to compare with mega.
I have tried to know what is the equivalence of pins between atmega328 and atmega644 but I have not succeeded after all part of the night trying.
I guess I have to put AUDIO_PIN on a Timer PWM pin, but I tried AUDIO_PIN on several PWM pins of the atmega644 and nothing.
I imagine that the two key parameters are
OCR2 and TCCR2A
#define OCR2 OCR1A
TCCR2A = xxx
Any idea?
Thank you