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

Thread: Problem with built-in SD card on Teensy 3.6

  1. #1
    Junior Member
    Join Date
    Jan 2017
    Posts
    15

    Problem with built-in SD card on Teensy 3.6

    Hi all,
    Simple question.
    Trying to use some of the example sketches for the SD card functionality on Teensy 3.6. Comments indicate that I need to set the chipSelect variable to BUILTIN_SDCARD. However, BUILTIN_SDCARD does not appear to be defined anywhere. Am I missing something?
    Thanks.
    Ed

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,875
    Just guessing here as you did mention what code you are using, like which library.

    But in cases like this, it often is an issue where you have some other version of the SD library in your <Arduino Sketch folder>/libraries folder, which does not have this functionality. Teensyduino installs a version in the:
    <where you installed Arduino>/hardware/teensy/avr/libraries/ folder (or equivalent depending on what OS you are on), but the one in the <arduino Sketch folder> will be used...

    If this is the case, try removing the other version.

  3. #3
    Junior Member
    Join Date
    Jan 2017
    Posts
    15
    Hi KurtE,
    Yes, an additional library was the problem. I was a bit surprised that the offending library was in C:\Program Files (x86)\Arduino\libraries than in my \Documents\Arduino\libraries directory. I kinda thought the system kept track of that. However, the compiler is now satisfied.
    Now I just need to get the thing to work...
    Thanks.

Posting Permissions

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