Serial

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
amishra123
Posts: 14
Joined: Fri Mar 25, 2011 4:16 pm
Has thanked: 2 times

Serial

Post by amishra123 »

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!

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times

Re: Serial

Post by Spanish_dude »

If you are using Flowcode v4, you should sing up to that forum and ask your questions there ;).

http://www.matrixmultimedia.com/mmforum ... =29&t=6524

Btw, if you are a beginner I suggest you to start with easy stuff (not that this is too complicated).

amishra123
Posts: 14
Joined: Fri Mar 25, 2011 4:16 pm
Has thanked: 2 times

Re: Serial

Post by amishra123 »

Thanks for the reply! I will post there aswell!
I have no time to start with anything!! I just need this done and I won't need to look at flowcode again!

Could you help me!!?

Post Reply