Fixed logic in post detection example shown in gpiooutput.shtml