Hi Matt,

I'm modifying your sd-card library so it's not tied to MSSP1. Currently,
your lib internally uses "spi_master_hw" pseudo-var, I put a "if defined"
logic such has:

-- carrier used to access SD-Card (pseudo-var dealing with SPI)
if !defined(spi_carrier) then
   alias spi_carrier is spi_master_hw
end if

It now uses "spi_carrier", pointing to whatever needed (MSSP1, MSSP2, maybe
even SPI software ?)

Cheers,
Seb


PS: I've also seen procedure _sd_read_512(), filling an array, index by
index ([0], [1], ...), resulting in 512 lines in the body. There sure must
be a reason, but I have to ask: why not using a loop ?

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