MCUdude / MegaCoreX

An Arduino hardware package for ATmega4809, ATmega4808, ATmega3209, ATmega3208, ATmega1609, ATmega1608, ATmega809 and ATmega808
GNU Lesser General Public License v2.1
243 stars 47 forks source link

PWM on Atmega 4809 48Pin PC2 & PC3 #196

Open ltwin8 opened 6 months ago

ltwin8 commented 6 months ago

Above described Pins (PC2 and PC3) should be PWM Capable, however i can not get them to work using analogWrite(PIN_PCn, x);

Can anyone please provide an example? according to datasheet those are alternate pins