Arduino - Servo.attached()
Description
Check whether the Servo variable is attached to a pin.
Syntax
servo.attached()
Parameters
- servo: a variable of type Servo
Returns
- true if the servo is attached to pin
- false otherwise.
See Also
※ ARDUINO BUY RECOMMENDATION
Arduino UNO R3 | |
Arduino Starter Kit |
Disclosure: Some links in this section are Amazon affiliate links. If you make a purchase through these links, we may earn a commission at no extra cost to you.
Additionally, some links direct to products from our own brand, DIYables.
Additionally, some links direct to products from our own brand, DIYables.