hi all,
i was wondering what would be the best way of implementing the ex_tgetc example with interrupts. I know you should never execute and interrupt from another interrupt as i was thinking of using:
#INT_RTCC // to control timeout
#INT_RDA // receive data on serial 1
#INT_RDA2 // receive data on serial 2
This is to be implemeted on a PIC18F8722. I need to rx/tx on both serial 1 and 2. So messages from 1 go to 2 and 2 to 1. Anybody please got any suggestions?
inservi
Joined: 13 May 2007 Posts: 128
Posted: Fri Jul 13, 2007 3:20 am
Hello,
If the datas need to be replicated from one port to the other without altering, why not to simply plug the rx from the first port to the tx of the second and vice versa ?
If you need to altering these datas before replicating, then the difficulties is depending on the baud and the speed of the PIC.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum