set

Function set 

Source
pub fn set(led: u32, on: bool)
Expand description

Set the state of LED led (0-based index).

on = true turns the LED on, on = false turns it off.