Program/USB Device - HID - Custom/mla/bsp/exp16/dspic33ep256mu806/leds.c
/*********************************************************************
 * Function: bool LED_Get(LED led);
 *
 * Overview: Returns the current state of the requested LED
 *
 * PreCondition: LED configured via LEDConfigure()
 *
 * Input: LED led - enumeration of the LEDs available in this
 *        demo.  They should be meaningful names and not the names of
 *        the LEDs on the silkscreen on the board (as the demo code may
 *        be ported to other boards).
 *         i.e. - LED_Get(LED_CONNECTION_DETECTED);
 *
 * Output: true if on, false if off
 *
 ********************************************************************/
bool LED_Get(LED led);
Overview: Returns the current state of the requested LED

LED configured via LEDConfigure()

LED led - enumeration of the LEDs available in this
demo.  They should be meaningful names and not the names of
the LEDs on the silkscreen on the board (as the demo code may
be ported to other boards).

true if on, false if off
bool LED_Get ( LED led ) ; Overview : Returns the current state of the requested LED LED configured via LEDConfigure () LED led - enumeration of the LEDs available in this demo . They should be meaningful names and not the names of the LEDs on the silkscreen on the board ( as the demo code may be ported to other boards ) . true if on false if off
bool LED_Get ( LED led )
{
    return false ;
}
bool LED_Get ( LED led ) { return false ; }
Function: bool LED_Get(LED led);
 Overview: Returns the current state of the requested LED
Function : bool LED_Get ( LED led ) ; Overview : Returns the current state of the requested LED
/*    switch (led)
    {
        case LED_D3:
            return ( ( LED_D3_LAT == LED_ON ) ? true : false ) ;

        case LED_D4:
            return ( ( LED_D4_LAT == LED_ON ) ? true : false ) ;

        case LED_D5:
            return ( ( LED_D5_LAT == LED_ON ) ? true : false ) ;

        case LED_D6:
            return ( ( LED_D6_LAT == LED_ON ) ? true : false ) ;

        case LED_D7:
            return ( ( LED_D7_LAT == LED_ON ) ? true : false ) ;

        case LED_D8:
            return ( ( LED_D8_LAT == LED_ON ) ? true : false ) ;

        case LED_D9:
            return ( ( LED_D9_LAT == LED_ON ) ? true : false ) ;

        case LED_D10:
            return ( ( LED_D10_LAT == LED_ON ) ? true : false ) ;

        case LED_NONE:
            return false ;

    }*/