Re: microSD card reader module - SDRamps (HCMODU0044)
I received yesterday this micro SD module and I uploaded the following code:
When I run the program, the serial monitor shows:
Couldn't open log file
When I check the SD card in the computer, it creates a LOG.txt despite the program code is File dataFile = SD.open("log.txt", FILE_WRITE); Basically, looks like is case sensitive. The word hello is also present in the created LOG.txt file. Looks like that for some reason is not closing the file after writing on it and then cannot open it again?
I also check the example provided in this forum and the result is that the card is OK but the test.txt file is not created in the card. So when I plug the card in the computer, there is nothing there.
Does anyone knows what am I doing wrong?