by alonsoBrain » Tue Oct 23, 2007 11:06 am
by alonsoBrain
Tue Oct 23, 2007 11:06 am
Hi!
I'd like to connect the CM5 box with a serial device...
What is the best choice to make the CM5 to listen to the port?
1. An interrupt driven routine?
2. A simple loop as
while (true){
command =TxD8Hex (RXD1_DATA);
make_my_things(command);
}
?
Thank you in advance.
Hi!
I'd like to connect the CM5 box with a serial device...
What is the best choice to make the CM5 to listen to the port?
1. An interrupt driven routine?
2. A simple loop as
while (true){
command =TxD8Hex (RXD1_DATA);
make_my_things(command);
}
?
Thank you in advance.
Last edited by alonsoBrain on Thu Oct 25, 2007 7:49 am, edited 1 time in total.