Timeout and overflow of arduino

Here is the code as one file

Arduino1_Tian_sv.ino (7.04 KB)