As far as I can tell, the chip doesn't read the SD card itself - that'd be up to Espruino... So a good start would be to use the info here to try and wire the SD card up and get it working.
After that, it'd be best to try and reproduce Adafruit's library in Espruino. You can pretty much replace the spiwrite function with spi.write and you're good to go.
It could be a bit of a slog though - it'd be worth trying to implement something like the sineTest function first...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As far as I can tell, the chip doesn't read the SD card itself - that'd be up to Espruino... So a good start would be to use the info here to try and wire the SD card up and get it working.
After that, it'd be best to try and reproduce Adafruit's library in Espruino. You can pretty much replace the
spiwrite
function withspi.write
and you're good to go.It could be a bit of a slog though - it'd be worth trying to implement something like the
sineTest
function first...