Good day everyone. I am new to Flowcode and have only basic knowledge on PIC programming.
I would like to know, how can I make two PIC Microcontrollers to communicate effectively in two dirrections ( Both will send and receive information ).
I am using FlowCode V3 and plan to code both PIC18F4550 Microcontrollers with flowcode 3.6.11.53
Any .fcf examples are welcome and appreciated!
Thank you in advance!
Communicating two PICs
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Communicating two PICs
Hello
You should be able to use the RS232 component to connect two devices via their UARTs. Eg the pins marked TX and RX on the chip diagram in Flowcode. The RS232 component is bi-directional as standard so you can send and receive data at the same time. There are also some RS232 examples located on the V3 Examples page.
You should be able to use the RS232 component to connect two devices via their UARTs. Eg the pins marked TX and RX on the chip diagram in Flowcode. The RS232 component is bi-directional as standard so you can send and receive data at the same time. There are also some RS232 examples located on the V3 Examples page.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Communicating two PICs
Thank you Ben!
I've made it work. I haven't thought that it would be so simple!
I've made it work. I haven't thought that it would be so simple!