Skip to main content
2 of 2
Minor fixes
Greenonline
  • 3.2k
  • 7
  • 37
  • 49

Reference: analogWrite()

The pins 2 - 13 and 44 - 46 are the PWM pins for analogWrite().

That means you have 15 PWM pins. Did you use them all?

You could add a module with more PWM outputs. Search for: Arduino 16 channel PWM

The Arduino Mega does not have analog outputs, only digital PWM outputs.

Jot
  • 3.3k
  • 1
  • 14
  • 21