MCUdude / MightyCore

Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535
Other
637 stars 181 forks source link

PWM Output Pin Modification #237

Closed mclabsud closed 2 years ago

mclabsud commented 2 years ago

Dear MCUdude, I like very much your project. I simply want to ask if there's the possibility to change the PWM pins in your project. I will use the 48 pin version of the chip. Since the PWM are essentially digital pins, I hope it's possible.

Thank you very much in advise to anyone can help me.

MCUdude commented 2 years ago

Hi!

Sorry, be the PWM pins cannot be re-routed to different pins. It's a limitation the chip family has. The internal timers that generate the PWM signal are physically connected to the pins.

mclabsud commented 2 years ago

Ok,

thank you very much for your answer... I was hoping it wasn't like that but ... ok! - I will have to change the PCB :-)

MCUdude commented 2 years ago

Yes, I know it sucks when you have to redesign because of a tiny mistake. Good luck with your design!