Hi all,
I am trying to interface pic to pic via uart. i have created code so that when the pushbutton is pressed, the pic would send signal to the other pic and turn the led but its not working. i have tried using the rf modules but i have heard that in order to make it easy. i must just connec the tx with the rx and its good to go.
im using pic16f877a and programming on mikroc
here is the transmitter code:
UART interface PIC to PIC problem
I am trying to interface pic to pic via uart. i have created code so that when the pushbutton is pressed, the pic would send signal to the other pic and turn the led but its not working. i have tried using the rf modules but i have heard that in order to make it easy. i must just connec the tx with the rx and its good to go.
im using pic16f877a and programming on mikroc
here is the transmitter code:
Code (Text):
- void main() {
- char txt = 'A';
- TRISA.F0 = 1;
- PORTA.F0 = 0;...