I am trying to store data on a sd card using TTGO TCALL SIM800L module.
The SD Card is formatted with FAT32 and stores two files:
rates.dat
log.txt
When making the connection it detects the list of files,but it is not possible to read the content of the files.
I have tried creating a directory with:
sd.MKDir ("agc001.txt")
but don't believe it.
According to the documentation, this is the pinout of the TTGO TCALL:
VSPI_MOSI = 23
VSPI_MISO = 19
VSPI_SCK = 18
VSPI_SS = 5
I'm using sd.Initialize (5)
Which default pins does rSD use?
what is the problem?
Thanks for your help!
SD cards
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 pass the CS pin used. See this link for more information...
www.b4x.com
The SD Card is formatted with FAT32 and stores two files:
rates.dat
log.txt
When making the connection it detects the list of files,but it is not possible to read the content of the files.
Log:
ets Jun 8 2016 00:22:57
AppStart
/System Volume Information 0kb 1
/log.txt 0kb 0
/rates.dat 1kb 0
Error opening file.
I have tried creating a directory with:
sd.MKDir ("agc001.txt")
but don't believe it.
According to the documentation, this is the pinout of the TTGO TCALL:
VSPI_MOSI = 23
VSPI_MISO = 19
VSPI_SCK = 18
VSPI_SS = 5
I'm using sd.Initialize (5)
Which default pins does rSD use?
SD cards
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 pass the CS pin used. See this link for more information...
www.b4x.com
what is the problem?
Thanks for your help!