User Tools

Site Tools


uphp:functions:pin_set

This is an old revision of the document!


pin_set(int $pin_index, int $value)

Sets a digital output

Refer to pin_configure() for the list of available pins.

If the pin is not configured as a digital output this does nothing.

$value can be 0 or 1 to switch off or on the digital output

uphp/functions/pin_set.1494675565.txt.gz · Last modified: 2021/09/13 05:56 (external edit)