Detach a servo using the I2C driver?

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
reg3har
 
Posts: 5
Joined: Thu Jan 17, 2013 11:09 am

Detach a servo using the I2C driver?

Post by reg3har »

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.

User avatar
adafruit_support_bill
 
Posts: 88097
Joined: Sat Feb 07, 2009 10:11 am

Re: Detach a servo using the I2C driver?

Post by adafruit_support_bill »

I believe this will work:

Code: Select all

 pwm.setPWM(servonum, 0, 0);

reg3har
 
Posts: 5
Joined: Thu Jan 17, 2013 11:09 am

Re: Detach a servo using the I2C driver?

Post by reg3har »

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?

Post by reg3har »

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.

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

Return to “Other Arduino products from Adafruit”