Serial
Posted: Mon Mar 28, 2011 3:32 pm
Hey everyone, I am quite new to this and require your help!
I am using Flowcode 4 and 2 PIC 18F4520
What I have to do is this. There are 8 switches on Port B (one each byte)on a PIC(1) and I have to somehow send the signals of when they are pressed via serial to another PIC(2) which has 8 LED's on the PORT C. So when switch 1 is pressed on PIC 1, LED 1 come on on PIC 2.
I have absolutely no idea how to go about this and require your help!
I have a feeling I might need to use variables somehow maybe (Variable1=port B), I literally have no idea as I am am a complete beginner!
I would really appreciate any help you could give me and look forward to your replies!
I am using Flowcode 4 and 2 PIC 18F4520
What I have to do is this. There are 8 switches on Port B (one each byte)on a PIC(1) and I have to somehow send the signals of when they are pressed via serial to another PIC(2) which has 8 LED's on the PORT C. So when switch 1 is pressed on PIC 1, LED 1 come on on PIC 2.
I have absolutely no idea how to go about this and require your help!
I have a feeling I might need to use variables somehow maybe (Variable1=port B), I literally have no idea as I am am a complete beginner!
I would really appreciate any help you could give me and look forward to your replies!