shamonshan / rogue-code

Automatically exported from code.google.com/p/rogue-code
0 stars 0 forks source link

Hard PWM pin 9 does not work properly after SoftPWMBegin has been called #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(Seeing problem on the Mega 2560 using Arduino 1.0.3 IDE)
Reproduction:
1. Call SoftPWMBegin() in setup
2. Call analogWrite(9, x) with varying values for x
3. Only 0% or 100% duty cycles are output on the pin. There is no fading if you 
attach an LED.
4. All other hardware PWM pins I've tried worked fine

Original issue reported on code.google.com by ScottSte...@gmail.com on 8 Apr 2013 at 2:11

GoogleCodeExporter commented 9 years ago
Whoops, and if it's not obvious, this has to do with your SoftPWM library for 
Arduino. Didn't realize this issues list was for multiple project.

Original comment by ScottSte...@gmail.com on 8 Apr 2013 at 2:14