17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

What is an easy way for two or more PICs® to communicate?<br />

There are two example programs (EX_PBUSM.C and EX_PBUSR.C) that show how<br />

to use a simple one-wire interface to transfer data between PICs®. Slower data can<br />

use pin B0 and the EXT interrupt. The built-in UART may be used for high speed<br />

transfers. An RS232 driver chip may be used for long distance operations. The<br />

RS485 as well as the high speed UART require 2 pins and minor software changes.<br />

The following are some hardware configurations.<br />

364

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!