Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(Motor.IsOn()) {
- s += "frontLeft: ";
- try {
- Motor.SetPower(pow);
- s += pow + ";";
- } catch (Exception ex) {
- Motor.SwitchState(false);
- s += "DISCONNECTED; ";
- }
- }
- else s += "frontLeft: DISCONNECTED; ";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement