releaseAll

Servo.releaseAll([ezbIndex])

Parameters

ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Stops all servos at all ports from holding their position.

*Warning: this will affect all ports and reset their state. That means if you using some ports for digital i/o or UART, those ports will be reset. This resets ALL ports, not some. If you wish to only release servos on specific ports, create a script using Servo.release(port) instead of this.

i.e.

Servo.release(d0);
Servo.release(d1);
Servo.release(d3);