On 11/27/2013 11:40 AM, Andre Abelian wrote: > TRISBbits.TRISB5 =3D 0; // "SPI IN" > TRISBbits.TRISB4 =3D 1; // "SPI OUT" I usually specify MOSI and MISO to remove the ambiguity around out for=20 who and in for who. - Martin --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .