YatlCPM/abstraction_arduino_esp.h
// turn on/off drive LED
turn on/off drive LED
turn on / off drive LED
void driveLED(bool state) {
#if YAEL_PLATFORM
    yael_led(state, true);
#else
	if ( LED <= 0 ) { return; }
	if (state) digitalWrite(LED, HIGH^LEDinv);
	else digitalWrite(LED, LOW^LEDinv);
#endif
}
void driveLED ( bool state ) { #if YAEL_PLATFORM yael_led ( state , true ) ; #else if ( LED <= 0 ) { return ; } if ( state ) digitalWrite ( LED , HIGH ^ LEDinv ) ; else digitalWrite ( LED , LOW ^ LEDinv ) ; #endif }
turn on/off drive LED
turn on / off drive LED