you have only one Hardware UART on 16F877 !
so you can use this one
but for the second you have to use a Software uart
by using , for example B0 and B1
BO for receiving with interrupt on edge for the start bit..
see software uart bit bang on the web...
or use a PIC with 2 Hardware UART..
new one can have up to 4 uarts !
you have only one Hardware UART on 16F877 !
so you can use this one
but for the second you have to use a Software uart
by using , for example B0 and B1
BO for receiving with interrupt on edge for the start bit..
see software uart bit bang on the web...
or use a PIC with 2 Hardware UART..
new one can have up to 4 uarts !
I am using CCS PIC-C Compiler... which is having in-built functions for Software UART....
and i am operating both uart as software uart in the above code...