Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

Detach a servo using the I2C driver?
Moderators: adafruit_support_bill, adafruit

Detach a servo using the I2C driver?

by reg3har on Thu Jan 17, 2013 11: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 11:09 am

Re: Detach a servo using the I2C driver?

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

I believe this will work:

Code: Select all | TOGGLE FULL SIZE
 pwm.setPWM(servonum, 0, 0);

adafruit_support_bill
 
Posts: 37526
Joined: Sat Feb 07, 2009 10:11 am

Re: Detach a servo using the I2C driver?

by reg3har on Sun Jan 20, 2013 2: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 11:09 am

Re: Detach a servo using the I2C driver?

by reg3har on Sat Feb 16, 2013 11: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 11:09 am