mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
clear
This commit is contained in:
@@ -84,7 +84,7 @@ namespace Modelec {
|
||||
// Clear all channels (reset devices)
|
||||
void PCA9685Controller::clearAllDevices() {
|
||||
for (int channel = 0; channel < 16; ++channel) {
|
||||
setServoPWM(channel, 0);
|
||||
SetPCA9685PWM(channel, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user