if (sig6 < 1200)
plowup = HIGH;
else if ((sig6 > 1400)&&(sig6 < 1500))
plowup = LOW;
if (sig6 > 1900)
plowdown = HIGH;
else if ((sig6 > 1400)&&(sig6 <1500))
plowdown = LOW;
I tried this with some success one the serial monitor phew