Ok I'm having a bit of a discrepancy with PWM on the Arduino Zero. Looking at the Main Page for the Zero: http://www.arduino.cc/en/Main/ArduinoBoardZero
I see that it states "General purpose I/O Pins 20, all of which can do digital I/O and all except for 2 and 7 can be used as PWM output" But then I see lower on the page in the Input/Output section "Each of the 20 general purpose I/O pins on the Zero can be used for digital input or digital output using pinMode(), digitalWrite(), and digitalRead() functions, Pins that can be used for PWM output are:
3, 4, 5, 6, 8, 9, 10, 11, 12, 13".
With that said I see the ATMEL SAMD21 datasheet says this chip has 12 PWM outputs attached to TC's. I have done some playing and I'm able to get 11PWM's working on the following Pins. I really need all 12 PWM's working for a project I wanted to use the Zero for.
So from the Arduino Web page it says it's either 18 or 10? PWM pins Atmel says the chip has 12 PWM pins. And I've found 11 PWM pins.
I've found the following pins work for PWM.
3,4,5,6,8,9,10,11,12,13, and A0 (digital 14). Does anyone know what pin the 12th PWM is attached to or if it is even broke out and functional in the Arduino IDE?