You tried add the message of debug to serial monitor?
Show us how you have the menu "SHOW CONFIG."
Like this:
Image: https://raw.githubusercontent.com/FernandoGarcia/Ferduino_Portuguese/master/Imagens%20dos%20menus/rever%20dosagem%20personalizada.jpg
Yes this exactly this way, had a detail ...
dosing boolean = true; / / Change to "false" if you do not have metering.
was false, yet still did not work ...
I did a debug as in the following code:
void check_dosagem_personalizada_1()
{
Serial.println("Check doser 1"); //first point to verify and show in console.
int16_t n;
char buf[7];
minuto01 = 0;
char oldminuto9;
oldminuto9 = time9;
time9 = t.min;
if (oldminuto9!=time9)
{
if(bitRead(modo_personalizado_on,1) == true)
{
if(bitRead(segunda_dosagem_personalizada,1) == t.dow)
{
if(file.open(&root, "HDP1.TXT", O_READ))
{
while ((n = file.read(buf, sizeof(buf))) > 0)
{
minuto01 = atoi(buf);
if(minuto01 == NumMins(t.hour,t.min))
{
tempo_dosagem = map (((dose_dosadora_1_personalizada/quantidade_dose_dosadora_1_personalizada)*2), 0, fator_calib_dosadora_1, 0, 60000);
tempo_dosagem /= 2;
Serial.println("Ponto 1"); //Second point to verify its show in console.
digitalWrite(dosadora1, HIGH);
delay(tempo_dosagem);
digitalWrite(dosadora1, LOW);
}
}
}
file.close();
}
Any chance to be the problem here?
digitalWrite(dosadora1, HIGH);