Arduino - Servo.read()

Description

Read the current angle of the servo (the value passed to the last call to Servo.write().

Syntax

servo.read()

Parameters

  • servo: a variable of type Servo

Returns

  • The angle of the servo, from 0 to 180 degrees.

ARDUINO BUY RECOMMENDATION

Arduino UNO R3
Arduino Starter Kit
Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.

※ OUR MESSAGES