Detach a servo using the I2C driver?

by reg3har on Thu Jan 17, 2013 10:20 am

Received my 16 servo driver and built it immediately. Working like a charm but have question... How can i detach the servo similar to the servo.detach function in the servo.h library? In other words how can I effectively stop sending pulses to the servos? Thank you for your help.
reg3har
 
Posts: 5
Joined: Thu Jan 17, 2013 10:09 am

Re: Detach a servo using the I2C driver?

by adafruit_support_bill on Thu Jan 17, 2013 10:43 am

I believe this will work:

Code: Select all | TOGGLE FULL SIZE
 pwm.setPWM(servonum, 0, 0);
User avatar
adafruit_support_bill
 
Posts: 28090
Joined: Sat Feb 07, 2009 9:11 am

Re: Detach a servo using the I2C driver?

by reg3har on Sun Jan 20, 2013 1:12 am

Thank you for the timely response. I will try it as soon as possible. Unfortunately, I just lost the USB-to-Serial converter on my UNO.... ARGH!! Thanks again!
reg3har
 
Posts: 5
Joined: Thu Jan 17, 2013 10:09 am

Re: Detach a servo using the I2C driver?

by reg3har on Sat Feb 16, 2013 10:46 am

Just thought I might let the users know that this worked perfectly! Thank you, everyone at adafruit for all your useful tips, tricks, and products.
Rob G.
reg3har
 
Posts: 5
Joined: Thu Jan 17, 2013 10:09 am