Hola mi duda es, si entro en la pestaña "DEBUG" en esta parte de programación tiene que estar activado alguna linea de las que marco en rojo, ahora mismo no hay ninguna activada(es decir sin //) uso el sensor UVM-30A.
Gracias.
#if (DebugID4)
// function to serial print DebugID4 data
// ---------------------------------
void printDebugID4()
{
SolarRad = map(avg_SolarRad, 0, 1023, 0, 1400); // Output always be a integer, between 0 and 1250 W/m2 // Can be usefull to also control fan on/off. On if SolarRad > 600 W/m2 - Not implemenred yet
// --- ADC1 is data from my UV sensor Reyax UV-01
// IndiceUV = (avg_IndiceUV * 12.0) / 1024.0;
// --- ADC4 is data from my UV sensor UVM-30A
//IndiceUV = ((avg_IndiceUV * 17.0) / 1023.0) ;
Gracias.
#if (DebugID4)
// function to serial print DebugID4 data
// ---------------------------------
void printDebugID4()
{
SolarRad = map(avg_SolarRad, 0, 1023, 0, 1400); // Output always be a integer, between 0 and 1250 W/m2 // Can be usefull to also control fan on/off. On if SolarRad > 600 W/m2 - Not implemenred yet
// --- ADC1 is data from my UV sensor Reyax UV-01
// IndiceUV = (avg_IndiceUV * 12.0) / 1024.0;
// --- ADC4 is data from my UV sensor UVM-30A
//IndiceUV = ((avg_IndiceUV * 17.0) / 1023.0) ;