pixelmatix / AnimatedGIFs

MIT License
62 stars 34 forks source link

No SD Card #17

Open jj2cool101 opened 6 years ago

jj2cool101 commented 6 years ago

Hi there, I am working on a graduation cap project and I am using a teensy 3.5, the Smart LED Shield V4, and a 32x32 led matrix. I have downloaded this software (SmartMatrix3-3.1.0) and am trying to run the AnimatedGIFs sketch on the teensy. I have un-commented the lines

include

as well as

define SD_CS BUILTIN_SDCARD

however my code is still showing no SD card inserted. I have tried two different SD cards making sure to format them both to FAT32 before using. Also I am very new to this so I'm not sure if I am missing any information. Thanks in advance.

embedded-creations commented 6 years ago

Can you run one of the SD example sketches, e.g. CardInfo, and see if that communicates with the card? Make sure to change the CS pin to BUILTIN_SDCARD in the example sketch. Try with the Teensy plugged into the SmartLED Shield and with the Teensy separate. If an example sketch doesn't work with the Teensy unplugged, then it's definitely an issue with the Teensy.

jj2cool101 commented 6 years ago

Hi there, I got mine to work,, YAY! However some gifs display white as red or yellow. I am wondering if you may know what this would be an issue from. Would it be from the teensy or the display? Thank you again in advance.

embedded-creations commented 6 years ago

Green and Blue LEDs require more voltage to light up, it could be that your power supply isn't able to supply enough current, and the voltage is sagging. How are you powering the panel? Try lowering the brightness set in the sketch, which may or may not help, or changing to a stronger power supply.

If you have a multimeter, you can test the voltage at the point where the power supply is connected to the panel

marcmerlin commented 6 years ago

this issue can likely be closed with https://github.com/pixelmatix/AnimatedGIFs/pull/20 which fixes this along with other features