Arduino - Servo.attached()

Descripción

Comprueba si la variable Servo está conectada a un pin.

Sintaxis

servo.attached()

Parámetros

  • servo: una variable de tipo Servo

Retornos

  • true si el servo está conectado al pin
  • false en caso contrario.

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 .

※ OUR MESSAGES