Hello, I'm trying to figure out if I can somehow set a variable High with an interrupt when I have available data to receive in my Usart and then in my loop check if the variable is HIGH to actually parse the data incoming?
If someone could give some lights i would be really grateful! Thanks!
luisaraujo123:
Hello, I'm trying to figure out if I can somehow set a variable High with an interrupt when I have available data to receive in my Usart and then in my loop check if the variable is HIGH to actually parse the data incoming?
If someone could give some lights i would be really grateful! Thanks!
If I understand the question, you have some remote device that will send a digital signal to the Arduino that is is preparing to send data. And you want to watch for that signal for some reason. Am I close?