pic to pic communication

Discuss PIC and electronic related things

Moderators: David Barker, Jerry Messina

Post Reply
yllis
Posts: 10
Joined: Wed Feb 23, 2011 10:18 am
Location: Finland

pic to pic communication

Post by yllis » Wed Feb 06, 2013 6:58 pm

I need to send simple data from one pic to another.

I read somewhere that "connect TX of the PIC1 to the RX of the PIC2, an you're set".

How is the data sent and read? Do I use the USART.Write -command to send data and then from the other pic I test the PIR1.5 to read data?

I need to configure baudrate but what else do I need to configure? I tried reading the USART-module, but I coudn't figure it out.

User avatar
Senacharim
Posts: 139
Joined: Tue Aug 10, 2010 5:19 pm
Location: Ventura, CA

Post by Senacharim » Sun Feb 10, 2013 6:34 pm

USART is one way, yes. You're on the right track.
Surviving Member
Bermuda Triangle Battalion
from 2026 to 1992

Voted "Most likely to time travel"--Class of 2024.

Post Reply