PWM in Mega
Original by Lukas Bonfert:
I'm relly sorry, but there is a mistake on your website. If you watch the analogWrite() description http://arduino.cc/en/Reference/AnalogWrite , it tells you, the MEGA allows PWM on the pins 2-13. But if you check the MEGA description in German( arduino.cc/de/Main/ArduinoBoardMega2560 ), it tells you there were 14 PWM pins. After checking that with an MEGA 2560, I found out that both are wrong, only the english MEGA description ( arduino.cc/en/Main/ArduinoBoardMega2560 ) and the MEGA pin mapping (http://arduino.cc/en/Hacking/PinMapping2560), which tell you both about the 15 PWM pins (2-13, 44-46) are correct.
I found it quite confusing when I tried to find out about PWM pins by using the website, so I would ask you to change that, because I think others may get the same problem.
Corrected the AnalogWrite page.