OK, thanks for pointing this. How can we solve this in order sd_card.jal to
be fully generic ? I remember we have the exact same problem with ethernet
libs.

Cheers,
Seb

2011/4/19 mattschinkel <[email protected]>

> 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.
>
>


-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

-- 
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.

Reply via email to