reads in pattern and blinks SOS signal