hexviper
Newbie level 3
While there are many posts related to communication between PICs I am unable to find clear code (prefer basic since I am new) that would help me understand how to accomplish successful communication.
The circuit I am working on is really quite simple.
The master PIC populates a variable with a pulsewidth value and I would like to pass the numeric value (between 1 - 65) to the slave PIC via RS485.
The master should only send when the slave is ready for new data.
Both PICs are using a 4MHz xtal and the distance between PICs is no more than 50ft.
Once I have managed successfully communicate between both PICs, I will be happy to post the code and schematics of this project for others to use.
Any help would be greatly appreciated.
The circuit I am working on is really quite simple.
The master PIC populates a variable with a pulsewidth value and I would like to pass the numeric value (between 1 - 65) to the slave PIC via RS485.
The master should only send when the slave is ready for new data.
Both PICs are using a 4MHz xtal and the distance between PICs is no more than 50ft.
Once I have managed successfully communicate between both PICs, I will be happy to post the code and schematics of this project for others to use.
Any help would be greatly appreciated.