Set DIO Based on Voltage