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

Thread: Sample program to read and write data using the builtin sd card reader of Teensy 4.1

  1. #1

    Sample program to read and write data using the builtin sd card reader of Teensy 4.1

    Hi, is there a sample program on how to do that?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    25,223
    Yes, there are 6 example programs for SD card access. In Arduino, click File > Examples > SD.

    You will need to edit the chip select pin to BUILTIN_SDCARD, which is a special constant that tells the SD library to access the SD socket using fast SDIO protocol rather than a SD card connected to the SPI pins. Look for the comments in those examples which explain this.

  3. #3
    Thank you

Posting Permissions

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