Detach a servo using the I2C driver?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 5
- Joined: Thu Jan 17, 2013 11:09 am
Detach a servo using the I2C driver?
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.
- adafruit_support_bill
- Posts: 88097
- Joined: Sat Feb 07, 2009 10:11 am
Re: Detach a servo using the I2C driver?
I believe this will work:
Code: Select all
pwm.setPWM(servonum, 0, 0);
-
- Posts: 5
- Joined: Thu Jan 17, 2013 11:09 am
Re: Detach a servo using the I2C driver?
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!
-
- Posts: 5
- Joined: Thu Jan 17, 2013 11:09 am
Re: Detach a servo using the I2C driver?
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.
Rob G.
Please be positive and constructive with your questions and comments.