mattairtech / ArduinoCore-samd

This is a fork from arduino/ArduinoCore-samd on GitHub. This will be used to maintain Arduino support for SAM D|L|C (M0+ and M4F) boards including the MattairTech Xeno Mini and the MT-D21E (see https://www.mattairtech.com/). It adds support for new devices like the D51, L21, C21, and D11. It also adds new clock sources, like a high speed crystal or internal oscillator.
103 stars 43 forks source link

PIN13 (PA02) analogWrite doesn't work as it should (D11C14A) #30

Open zolianek opened 4 years ago

zolianek commented 4 years ago

Hi! I am using non-sdcard bootloader on SAMD11C14A and while trying to do a fading sketch with pin13 it does behave very strange. No matter what I do I can't make it behave as it should. I discovered that it skips any value from 1 to ~190 so to get a proper fading I have to set values between 190 and 255 as the LED does not light up with any value between 1 and 190.