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