changed around numbers, works for 5 volts and 0 volt input