can these 2 PIC communicate? if can, how is the pin should be connected because i didn't find any Rx or Tx pin on these two.
i'm going to tun a dc motor controlled by pic16f84A, and i found it does not have a built-in pwm function. can anybody help me with the source code to run this motor? the compiler that i use is picc. thank you
877 has USART and its relevant pins are: pin 25 (Tx) and pin 26 (Rx) ..
84 doesn't have anything like that, so one option is to use RB0/Int pin (6) as Rx pin and RA3 (2) as Tx pin and write software serial communication routine ..
So, the hardware connection between 877 and 84 will look like this:
Pin 25 (877) to Pin 6 (84)
Pin 26 (877) to Pin 2 (84)
GND to GND