Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4922

UART interface PIC to PIC problem

$
0
0
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:

Code (Text):
  1. void main() {
  2.      char txt = 'A';
  3.     TRISA.F0 = 1;
  4.     PORTA.F0 = 0;...
UART interface PIC to PIC problem

Viewing all articles
Browse latest Browse all 4922

Trending Articles