Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 7 of 7

Thread: easy to understand built in sd card tutorial for 3.6 teensy?

  1. #1
    Senior Member
    Join Date
    Aug 2016
    Posts
    146

    easy to understand built in sd card tutorial for 3.6 teensy?

    I want to be able to either read a image file, and send the data out a ws2812b strip or read a text file I would create from python to do the same thing from the built in sd card slot on my 3.6

    I am waiting for a strip of 432 leds to use for light painting.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,539
    I believe Adafruit has published some light painting examples which read BMP files. Maybe those would be a good starting point?

  3. #3
    Senior Member
    Join Date
    Aug 2016
    Posts
    146
    hrmm.. I'll have to check up after work..

  4. #4
    Senior Member
    Join Date
    Aug 2016
    Posts
    146
    okay that didnt really help me, as it just made things more confusing. I am not good at understanding C or the arduino language. so I am having a hard time figuring out what I need to know to read a image file and output it to a neopixel string (432 pixels hopefully). if not a image file then a CSV might be okay too..

  5. #5
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,584
    Quote Originally Posted by firehopper View Post
    I am not good at understanding C or the arduino language
    Thus, wouldn't it be better to learn systematically coding before you start building MCU based projects ?!? When you want to drive a truck, first step would be to get an appropriate driver's license...

    There is the very easy to understand arduino reference page and there are lots of C/C++ tutorials on the www in almost all languages.

  6. #6
    Senior Member
    Join Date
    Aug 2016
    Posts
    146
    I know enough to do most of what I want to do, just some thing easy to follow for sd card would be nice, is that too much to ask for? I'm using fastled to controll the leds. and the examples are fairly easy to follow for my teensy 3.6. now if I could get the 3.6 to read the built in card to read either a image file or csv it would make my life simpler than having to use python to read a image then generate the code I need. but I can go that way.

  7. #7
    Senior Member
    Join Date
    Mar 2013
    Posts
    651
    Not sure how easy this library is but you could take a look at the SDFat Library by Bill Greiman. It may be of help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •