Answer the question
In order to leave comments, you need to log in
How to set interrupt on Serial?
My first acquaintance with Arduino began with writing a program for a 5x5x5 LED cube controlled by COM.
Everything works, that's just the management is not very convenient. I would like to change the effect of the cube even before the previous one worked.
As far as I understand, you need to use interrupts, but I just don’t understand how to do this for Serial
Answer the question
In order to leave comments, you need to log in
If interrupts are needed, then Serial cannot be used, because in it obratotchik on reception already hangs. The main thing is not to forget at the beginning of the program to initialize the port through registers.
sites.google.com/site/vanyambauseslinux/arduino/ispolzovanie-preryvanij-arduino Take
a look
here. Yours is number 18 in the table.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question