private void btnPwmStop_Click2(object sender, RoutedEventArgs e) { if (gpioController == null || pwmControllers == null) { return; } RightMotor.Stop(); }
private void turn_right() { if (gpioController == null || pwmControllers == null) { return; } LeftMotor.Start(1000, 0.4); RightMotor.Stop(); }