add di tab botos_e_ets
Code: Select all
const int testCSTROM[] = {
40, 134, 280, 174
}; //Teste CLOUDS STORM
add code in tab ProcessMyTouch under case 25
Code: Select all
else if (checkButtons(testCSTROM[0], testCSTROM[1], testCSTROM[2], testCSTROM[3]) == true) // Testar todos
{
if ((haveraNuvem == true) && (executandoNuvem == false))
{
for (int i = 1; i <= quantNuvens; i++)
{
if (NumMins(t.hour, t.min) == horaNuvem[i])
{
executandoNuvem = true;
inicioNuvem = true;
millis_nuvem = millis();
}
}
}
}
Thanks
best Regards