Charlieplexing and SD card not working together


i have been doing project tinyduino, reason, can't sd card , led screen work together.

the sd reads fine separately, , led matrix works, , when sd card read before led matrix works, after starting led matrix (or starting beginning), can no longer access sd card.

i using charlieplexing library found on tinycircuits website (and library i've found online arduino). using petitfs sd card library (the original had same problem). appears charlieplexing library issue.

cam please me figure out disconnect , me fix this?

the library , code i'm using attached (petitfs:library, lolshield:library, tiltboy:code). breaks down after setup. ps_read error.

i'm thoroughly confused code in errorhalt() function. went shit, need keep reading accelerometer. why? wtf about?

it's interesting, too, may call errorhalt() before calling accel.begin(), reading accelerometer in errorhalt() makes no sense.

i can't figure out code pins being used what.


Arduino Forum > Using Arduino > Programming Questions > Charlieplexing and SD card not working together


arduino

Comments