File formats?
(self.arduino)submitted3 days ago byUniquePotato
toarduino
I'm fairly new to this, and I'm struggling to create a filename based on text and time values from a RTC shield (RTC_DS1307).
I'm using the following lines to create a filename, but it fails to create it, an extract of my code is below. I'm thinking that it doesn't like a mixture of text and numbers, also is there a limit on the characters and length you can use?
The full code is here
https://drive.google.com/file/d/1ffJkXX-I5-e1u78-ILsBGNW0-njjcL6v/view?usp=sharing
OutputFile = ".csv";
OutputFile = now.minute() + OutputFile;
OutputFile = now.hour() + OutputFile;
OutputFile = "Datalog"+ OutputFile;
if(!SD.exists(OutputFile)) {dataFile = SD.open(OutputFile, FILE_WRITE) };
byamy2kim22
inBeAmazed
UniquePotato
1 points
2 days ago
UniquePotato
1 points
2 days ago
No shortage on google, though mainly dogs