private void ledBlueOn(object sender, RoutedEventArgs e)
 {
     Led.Pattern pattern = new Led.Pattern();
     mbl_mw_led_load_preset_pattern(ref pattern, Led.PatternPreset.PULSE);
     mbl_mw_led_write_pattern(mwBoard, ref pattern, Led.Color.BLUE);
     mbl_mw_led_play(mwBoard);
 }
 private void ledGreenOn(object sender, RoutedEventArgs e)
 {
     Led.Pattern pattern = new Led.Pattern();
     mbl_mw_led_load_preset_pattern(ref pattern, Led.PatternPreset.BLINK);
     mbl_mw_led_write_pattern(mwBoard, ref pattern, Led.Color.GREEN);
     mbl_mw_led_play(mwBoard);
 }
 private void ledRedOn(object sender, RoutedEventArgs e)
 {
     Led.Pattern pattern = new Led.Pattern();
     mbl_mw_led_load_preset_pattern(ref pattern, Led.PatternPreset.SOLID);
     mbl_mw_led_write_pattern(mwBoard, ref pattern, Led.Color.RED);
     mbl_mw_led_play(mwBoard);
 }
 private void ledBlueOn(object sender, RoutedEventArgs e) {
     Led.Pattern pattern = new Led.Pattern();
     Led.LoadPresetPattern(ref pattern, Led.PatternPreset.PULSE);
     Led.WritePattern(mwBoard, ref pattern, Led.Color.BLUE);
     Led.Play(mwBoard);
 }
 private void ledGreenOn(object sender, RoutedEventArgs e) {
     Led.Pattern pattern = new Led.Pattern();
     Led.LoadPresetPattern(ref pattern, Led.PatternPreset.BLINK);
     Led.WritePattern(mwBoard, ref pattern, Led.Color.GREEN);
     Led.Play(mwBoard);
 }
 private void ledRedOn(object sender, RoutedEventArgs e) {
     Led.Pattern pattern = new Led.Pattern();
     Led.LoadPresetPattern(ref pattern, Led.PatternPreset.SOLID);
     Led.WritePattern(mwBoard, ref pattern, Led.Color.RED);
     Led.Play(mwBoard);
 }