// set the micro-stepping modes and current levels private void radio_HeadStepper1_Microstepping1_Checked(object sender, RoutedEventArgs e) { if (ConfigLoaded) { usbController.setHeadStepper1MicrosteppingMode(0x01); } }
// set the micro-stepping modes and current levels private void radio_HeadStepper1_Microstepping1_Checked(object sender, RoutedEventArgs e) { if (ConfigLoaded) { dispatcherTimer.IsEnabled = false; usbController.setHeadStepper1MicrosteppingMode(0x01); dispatcherTimer.IsEnabled = true; } }