B4R Question rSD32 lib and rSD lib with ESP32 - peacemaker    Aug 19, 2024 Hi, All and @candide
My test MicroSD card is rather old, 2 GB one.
1) Strange, but rSD32 lib cannot be used - ESP32 MCU is rebooted at SD.totalBytes, but previous SD.cardSize works OK:
load... B4R Code Snippet SD-card: save log into a limited (looped) log file - peacemaker    Aug 25, 2024 . Actual Arduino's SD-card class can open file only for READ, WRITE or APPEND. No TRUNCATE is possible... As Byte, YEAR As Byte End Sub Sub Start_SD(tag As Byte) If tag = 0 Then Log("Start SD...") Else Log("Try to re-start SD...") End If Dim res As Byte = RunNative("setup_sd", Null) If res = 0 Then Log("SD card - setup error..., line) End Sub #if C #include "FS.h" #include "SD.h" #include "SPI.h"... B4R Tutorial SD cards - Erel    Apr 19, 2016   (9 reactions) The rSD library allows reading and writing to SD cards. The Ethernet shield as well as other shields include a SD slot.
The steps required to work with files:
1. Initialize a SD object. You need to... B4R Library rSD32 library - candide    Aug 22, 2024   (9 reactions) it is a wrapper based on SD library in esp32 package for arduino.
SPI configuration is depending... defined
- VSPI Not defined
' * SPI Standard case: Connect the SD card To the following pins... B4R Question SD card: create a directory tree - peacemaker    Aug 23, 2024 HI, All
I read that path should be 8.3 format for FAT32.
But ... how to mkdir("/year/month/day... B4R Question What max file size to SD card your used? - peacemaker    Aug 20, 2024 Hi, All
Who practically used SD-cards - what max file size you could write ?
Strange, but my ESP32 is starting to give error like "Failed to open file for appending" when the file is just... B4R Question SD-card: writing .CSV files - peacemaker    Aug 19, 2024 Hi, All
Just trying rSD lib with ESP32 and SPI card slot.
The main, it's usage "/"......
private Sub Savelog As Boolean
If sd.OpenReadWrite("/log.dat") = True Then
sd... B4R Question Write different data to SD card - Mostez    Sep 27, 2016 Hello, I want to save data to sd card file 'log.dat' as follows: CardID,UserName,Date_Time(hh:mm:ss,yy/mm/dd) Date_Time components are public variables from timer sub, CardID and UserNameare sent from asyncstream. savelog sub called from ReadRFID stream. Thanks Sub DS1320timer_Tick... 'how can I load card number, time elements, and string into array If Sd.OpenReadWrite ("log.dat") = True Then Sd.Stream.WriteBytes(Buffer,0,Buffer.Length) End If End... B4R Question SOLVED - SD card adapter tyep, Max SD card size / format - Robert Valentino    Apr 15, 2020 Want to hook a SD card on to my ESP8266EX
What sd cards adaptors are you guys using (known to work)
What is the max sd card size I can use in the adapter (have an old 16gig) I have read use fat16... B4R Question SOLVED Sd.position seems not to work. - tigrot    Oct 5, 2021 Hi everybody,
I have an app updating a small random access file. It worked for months, but after I c... Page: 1   2   3   4   5   |