March 29, 2010
about 4 years ago
Here’s my experience in using this with an Arduino 328 and the sdfat library:
- Just using sdfat and setting pin 10 to OUTPUT works for 0-5 seconds (can sometimes init, sometimes write, sometimes even get to the first sync)
- Using sdfat and setting pin 10 to OUTPUT and importing the SPI library: always able to init & write up until the first sync, then the sync fails
- Using sdfat and manually setting pins 8, 11, 13 to OUTPUT and pin 12 to INPUT works perfectly (in addition to setting pin 10 to OUTPUT like normal)
It’s my understanding that when you import SPI it’s supposed to setup those pins for you… But it looks like it doesn’t (or maybe it does but then breaks something else) :)
No public wish lists :(
Forgot your password?
No account? Register one!