UART TIMEOUT


Author Message
PicFan
Senior Member

Joined: 18/03/2014
Location: Austria
Posts: 133
Posted: 12:37pm 23 Sep 2019      

If I understood the problem correctly, an example with the console as input:


SUB conINP(tm)
 TIMER = 0
 DO WHILE((inp$ = "") AND (TIMER < tm))
   inp$ = INKEY$
 LOOP
END SUB



Maybe it,s help ?

Wolfgang
Edited 2019-09-23 23:25 by PicFan