Arduino - Servo.read()

Descripción

Lee el ángulo actual del servo (el valor pasado a la última llamada a Servo.write()).

Sintaxis

servo.read()

Parámetros

  • servo: una variable de tipo Servo

Retornos

  • El ángulo del servo, de 0 a 180 grados.

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