setanalogoutput()

Function Definition: setanalogoutput(‘2’,’255’)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
‘2’,’255’intThe function sets the PWM output of the specified pin to the given value between 0 and 255. The pins can be set to A1, A2, and S1.A1, A2, S1.

Description

The function sets the PWM output of the specified pin to the given value between 0 and 255. The pins can be set to A1, A2, and S1.

Example

There are no examples documented for this article.