Thanks.
You may also want to pay attention to these lines (if you are using
more then one SPI device that use different modes)
-- put spi into mode 11
if SD_ALWAYS_SET_SPI_MODE == TRUE then
SSPCON_CKP = 1
SSPSTAT_CKE = 0
end if
All of my SPI libs use these lines so the devices can be used
together.
SD_ALWAYS_SET_SPI_MODE is defined in the sample.
Matt.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.