public TankRobot() { //_onOffButton = new InterruptPort(Pins.GPIO_PIN_D13, false, Port.ResistorMode.PullUp, Port.InterruptMode.InterruptEdgeHigh); //_onOffButton.OnInterrupt += OnOffButton; _ultrasensor = new UltraSonicSensor(Pins.GPIO_PIN_D0, Pins.GPIO_PIN_D1); //_servo1 = new ServoController(Mshield.Servo1, 600, 2400, startDegree: 90); _myMotors = new Mshield(); }