WMPRO FW >= 1.0 WMMEGA FW >= 2.0
Set a digital output to value 1 or 0
$pin_index: The internal pin number. Refer to pin_configure() for the list of available pins. If the pin is not configured as a digital output this function does nothing.
$value: 1 or 0 to set the digital output on or off
None
pin_configure() - Configure an I/O pin as a digital input, output, or analog input
pin_get() - Return the value of an I/O pin
adc_read() - Read an onboard ADC channel