As for this variable must change the value?
Code: Select all
byte modo_personalizado_on = 0x0; // 0 = false, 1 = true
-------------------------------- Last edited 05 Jul 2014, 16:31 --------------------------------
Add the message of debug as I told previously.
The original code haven't any error.
If you haven't this (Day of week: x) message on serial monitor the problem can be on RTC or in the configuration of dosage.
If you haven't this (File opened!) message on serial monitor the problem is on SD card.
The original code haven't any error.
If you haven't this (Day of week: x) message on serial monitor the problem can be on RTC or in the configuration of dosage.
If you haven't this (File opened!) message on serial monitor the problem is on SD card.
Code: Select all
if(file.open(&root, "HDP1.TXT", O_READ))
Serial.println("Arquivo Aberto HFDP!");
file was not opened

Writing this, just do not read this card should I change?