I have to come come up with a PIC circuit that does the following.
-Two pics, each of which have two data switches as inputs.
- Each PIC should be capable of transmitting this data serially to the other PIC.
- Each PIC should be capable of receiving this data and displaying it on two LED's.
I'm doing this in machine code, I have a reasonable grasp on the basics of it but have difficulty when it comes to putting it all together and am a little overwhelmed at the moment. Could you please give me an idea how data can be transferred from the input of a PIC and put across to an o/p i.e. taking the data from the switches and outputting it serially.
Here is a crude diagram showing what I'm trying to do.
-Two pics, each of which have two data switches as inputs.
- Each PIC should be capable of transmitting this data serially to the other PIC.
- Each PIC should be capable of receiving this data and displaying it on two LED's.
I'm doing this in machine code, I have a reasonable grasp on the basics of it but have difficulty when it comes to putting it all together and am a little overwhelmed at the moment. Could you please give me an idea how data can be transferred from the input of a PIC and put across to an o/p i.e. taking the data from the switches and outputting it serially.
Here is a crude diagram showing what I'm trying to do.