Serial freeze

ok i'll come back when the code is complete