======pin_set====== WMPRO FW >= 1.0 WMMEGA FW >= 2.0 Set a digital output to value 1 or 0 ====Description==== pin_set ( int $pin_index, int $value ) ====Parameters==== $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 ====Return Values==== None ====See Also==== [[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