unsigned char LED_Configure(unsigned int led) { #ifdef PINS_LEDS // Check that LED exists if (led >= numLeds) { return 0; } // Configure LED return (PIO_Configure(&pinsLeds[led], 1)); #else return 0; #endif }