B4R Question Timed serial input

Mostez

Well-Known Member
Licensed User
Longtime User
Hello,
I have serial output HMI device (DWIN touch LCM) connected to serial2 on Arduino Mega, the problem is I want to make timed serial input to get data from this device, for example to call 'enter password screen' and then wait for user to enter password, click cancel, or timeout occur, in other words serial input inside sub code. this serial input process may be called again for another purpose like, enter item code and so on.

any ideas how to implement this in B4R

Thanks
 
Top