Sonsivri

Electronics => General Electronics => Topic started by: ppa88 on August 29, 2007, 07:59:01 19:59



Title: Test program for SPI communication between two PICs
Post by: ppa88 on August 29, 2007, 07:59:01 19:59
Here is a test program in CCS C to test SPI communication between two 16F877s , one configured as a master and the other as a slave. The source code and proteus design is included. Toggle the switch on the master side to control the LED on slave side.

The defs16f877.h file is useful for writing CCS code for PIC16f877.

http://rapidshare.com/files/52094204/pic_spi.rar.html


Title: Re: Test program for SPI communication between two PICs
Post by: GB9800 on August 30, 2007, 01:49:08 13:49
Thanks.


Title: Re: Test program for SPI communication between two PICs
Post by: Taner on August 30, 2007, 10:23:44 22:23
Thank you very much
 :)


Title: Re: Test program for SPI communication between two PICs
Post by: Rego on August 31, 2007, 05:31:58 17:31
use "Thank you" button 

Look here :   http://www.sonsivri.com/forum/index.php?topic=4807.0

warning.......