Adafruit 16-Channel 12-bit PWM/Servo Driver reversing things?

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
ianm1981
 
Posts: 2
Joined: Fri Sep 14, 2012 10:42 am

Adafruit 16-Channel 12-bit PWM/Servo Driver reversing things?

Post by ianm1981 »

Hi I think Ive done something silly to my PWM controller. I had it working fine on my raspberry pi controlling an RGB led strip quite happily using a mosfet to up the output levels to something capable of driving a 10m led strip. then I started playing with the java drivers for it, i think Ive set the wrong address to the wrong setting or something as it seems to be now doing the opposite of what I tell it. so when back using the adafruit library that came with it setting the 3 channels im using to on

Code: Select all

setPWM(12,0,4095)
seems to almost turn the channel off now whereas

Code: Select all

setPWM(12,0,0)
seems to put it on
I dont know quite what Ive done or if there is a simple way to factory reset this thing or if its fubard now i suspect I've changed it from one mode to another but Ive no idea how do fix it.

Any help please ;o)

ianm1981
 
Posts: 2
Joined: Fri Sep 14, 2012 10:42 am

Re: Adafruit 16-Channel 12-bit PWM/Servo Driver reversing things?

Post by ianm1981 »

ok panic over seems that while pulling power from it wasnt enough to reset it shorting the VCC, OE and GND pins all together did the trick.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”