Hello,
I want to transmit an integer (either '1' or '2') from one pic to another, that reads it and does something with it. Both pics are 18f2550. How do I achieve this with CCS?
Thank you

temtronic

Joined: 01 Jul 2010Posts: 6462Location: Greensville,Ontario

Posted: Tue Dec 12, 2017 11:31 am

Start by reading the FAQ section of the manual, then there are examples..in the 'examples' folder, searching this forum and the code library will find several 'hits'.
Always code a '1Hz LED' program to confirm the PIC run at the proper speed.
Always add 'ERRORS' to the USE rs232( ..options...)
Be sure gnd as well as TXD and RXD are between PICs.
Ensure correct RS232 tranceivers are used.