yes but i was replying for the original problem where the code 'hung'. you can start new alternative codes but it is a good idea to determine the cause first.
when it is indeed in the communication, using buffered input should solve the problem.
↧