extout1()

Controls an extout1 output port.

Syntax

extout1(pin, state)

Parameters

Parameter Type Description
pin Number The output pin number to control.
state Number `1` to turn on, `0` to turn off.

Return Value

Examples

Turn on external output pin 5

extout1(5, 1);

Turn off external output pin 3

extout1(3, 0);

See also

output
output_pwm
output_rc

mist
flood
spindle

extout1
extout2