esp8266_LED_RGBLED.cpp
void RGBLED::_toggleState (void) {
   if ( _illuminated ) {
      _illuminated = false;
      _illuminate(LEDColor::NONE);
   } else {
      _illuminated = true;
      _illuminate(_color[0]);
   }
}
/*
This ISR is called by the physical pin change "C" function to turn the LED alternately on and off
*/
This ISR is called by the physical pin change "C" function to turn the LED alternately on and off
This ISR is called by the physical pin change " C " function to turn the LED alternately on and off
void RGBLED::_toggleState (void) {
   if ( _illuminated ) {
      _illuminated = false;
      _illuminate(LEDColor::NONE);
   } else {
      _illuminated = true;
      _illuminate(_color[0]);
   }
}
void RGBLED :: _toggleState ( void ) { if ( _illuminated ) { _illuminated = false ; _illuminate ( LEDColor :: NONE ) ; } else { _illuminated = true ; _illuminate ( _color [ 0 ] ) ; } }
This ISR is called by the physical pin change "C" function to turn the LED alternately on and off
This ISR is called by the physical pin change " C " function to turn the LED alternately on and off