Table of Contents

Function Definition: setanalogoutput(servo port = 1, PWM = 50)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
servo portintThe servo port that needs to be controlled.1 to 81
PWMintThe PWM output that is needed.0 to 25550

Description

The function sets the analog state of the specified pin to the specified value between 0 to 255.

Example

There are no examples documented for this article.