Hi,
I have a rfid reader on the serial2 (115200) and this will be read with the serialevent2() function. Besides I have an IntervallTimer object (1 second) which I use for printing status infos on the serial7.
If I enable the IntervallTimer I always miss randomly bytes on the serial2 and if i disable the IntervallTimer I miss no bytes. Do you have any suggestion how to handle this (set priorities from irq?).
One generall interrupt question. If the priority from interrupt1 is higher than interrupt2, do interrupt 1 will "interrupt" the interrupt2 or will interrupt2 will be finished and after this if more than one interrupt will be activ the interrupt with the higher priority will be fired?
Thanks for your help
Andi
I have a rfid reader on the serial2 (115200) and this will be read with the serialevent2() function. Besides I have an IntervallTimer object (1 second) which I use for printing status infos on the serial7.
If I enable the IntervallTimer I always miss randomly bytes on the serial2 and if i disable the IntervallTimer I miss no bytes. Do you have any suggestion how to handle this (set priorities from irq?).
One generall interrupt question. If the priority from interrupt1 is higher than interrupt2, do interrupt 1 will "interrupt" the interrupt2 or will interrupt2 will be finished and after this if more than one interrupt will be activ the interrupt with the higher priority will be fired?
Thanks for your help
Andi