@robin2 - I think the op wants to throw away all input before the 3 seconds, hence the flush. The old spec (only on the arduino) was to clear the input buffer.
Mark
@robin2 - I think the op wants to throw away all input before the 3 seconds, hence the flush. The old spec (only on the arduino) was to clear the input buffer.
Mark