Page 1 of 1

Serial interrupt

PostPosted: Sun Dec 23, 2018 8:57 pm
by asinine
I have a set of sensors displaying data through serial print and the sensor needs to be always on mode because it is used to detect obstacles. Now because I have a constant flow of data(serial print) I can't send a serial command like pressing button "a" on the keyboard. it will be delayed.

I thought that the interrupt function might help this situation but I'm not familiar with interrupt function. Can anybody show me a serial input interrupt.