Function rc_led_set#

Function Documentation#

int rc_led_set(rc_led_t led, int value)#

sets the state of an LED

Parameters:
  • led[in] rc_led_t enum

  • value[in] 0 for OFF, non-zero for ON

Returns:

0 on success, -1 on failure