Teensy 3.2 - FreqCount lib + SD card?

Status
Not open for further replies.

fatalwir

New member
Hello, I need to use FreqCount library to measure input frequency. That uses pin 13 on my Teensy board but I also want to connect SD card to the board (uses same pin) and load a configuration to my program at startup from text file. I'm trying to figure out any solution for hours but without success. Can anyone help me with this problem?

Thanks.
 
Use SPI.setSCK(14) before SD.begin(), and of course connect SCK to pin 14 instead of pin 13.

See any of the audio library examples, like File > Examples > Audio > WavFilePlayer, since the audio shield uses pin 13 for I2S receive.
 
Status
Not open for further replies.
Back
Top