I
I
Ilya Plotnikov2013-01-15 12:19:43
Arduino
Ilya Plotnikov, 2013-01-15 12:19:43

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

2 answer(s)
T
theaspin, 2013-01-15
@ilyaplot

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.

P
Paul Smith @Paul, 2013-01-15
Smith

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 question

Ask a Question

731 491 924 answers to any question