This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

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