[−][src]Function mraa_sys::mraa_led_init_raw
pub unsafe extern "C" fn mraa_led_init_raw(
led_dev: *const c_char
) -> mraa_led_context
Initialise led_context, based on led function name.
The structure of LED entry in sysfs is "devicename:colour:function"
This api expects only one unique LED identifier which would be
"function" name most often. For instance, mraa_led_init_raw("user4");
@param led_dev Name of the LED device @returns LED context or NULL