The class allows to manipulate Qwerk's on-boar LED's. The total number of available on-board LEDs equals to Leds.Count.
Sample usage:
// get Qwerk's LEDs service Qwerk.Leds leds = qwerk.GetLedsService( ); // turn off all LEDs leds.SetLedsState( Qwerk.LedState.Off ); // set zero LED to blinking state leds.SetLedState( 0, Qwerk.LedState.Blinking ); // turn on 4th and 5th LEDs bool[] mask = new bool[10] { false, false, false, false, true, true, false, false, false, false }; Qwerk.LedState[] states = new Qwerk.LedState[10] { Qwerk.LedState.Off, Qwerk.LedState.Off, Qwerk.LedState.Off, Qwerk.LedState.Off, Qwerk.LedState.On, Qwerk.LedState.On, Qwerk.LedState.Off, Qwerk.LedState.Off, Qwerk.LedState.Off, Qwerk.LedState.Off }; leds.SetLedsState( mask, states );