right now I’m working on a temperature control that has the following procedure:
- read config file with attributes
- write header to csv file on SD (in setup)
- control temperature according to attributes from file (in loop)
- write temperature and other data to log file (in loop)
Datalogger Shield (SD + RTC)
MAX6675 Cold-Junction-Compensated K-Thermocouple-to-Digital Converter
switches and LED
Everything is working well but it seems as if the content of the header in the csv file prevents writing log data to the SD card afterwards.
for example (line 226):
does work which means writing a data string to SD later on is succesfull (line 353). But the following doesn’t work and gives “error opening file”:
Are there any restrictions concerning the number of items I can write using println or the length of each individual item?
The complete code can be found in the attachment.
Datalogging_RTC.ino (10.3 KB)