     setEmptyTimers();
   }
 
-  //setup channels
+  /* setup pwm on leds */
   channel[ 0 ].pin = LED0_PIN;
   channel[ 1 ].pin = LED1_PIN;
   channel[ 2 ].pin = LED2_PIN;

  }
  ledcMaxValue = ( 0x00000001 << numberOfBits ) - 1;
  ledcNumberOfBits = numberOfBits;
  //Serial.printf( "\nPWM frequency set to %.2f kHz\n", ledcActualFrequency / 1000);
  //Serial.printf( "PWM bit depth set to %i bits\n", ledcNumberOfBits);
  //Serial.printf( "Maximum raw value set to 0x%x or %i decimal\n\n", ledcMaxValue, ledcMaxValue);
}

static inline __attribute__((always_inline)) float mapFloat( float x, const float in_min, const float in_max, const float out_min, const float out_max)
{
  return ( x - in_min ) * ( out_max - out_min ) / ( in_max - in_min ) + out_min;
}

                                            ledcMaxValue ) );
      }
    }
    vTaskDelayUntil( &xLastWakeTime, dimmerTaskdelayTime / portTICK_PERIOD_MS );
  }
}
