Function rc_led_get#

Function Documentation#

int rc_led_get(rc_led_t led)#

gets the current state of an LED

Parameters:

led[in] rc_led_t enum

Returns:

0 if off, 1 if on, -1 on error