Browse Source

fixed the MPU6000 test sketch

master
Andrew Tridgell 13 years ago
parent
commit
760aa62c75
  1. 4
      libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde

4
libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde

@ -31,6 +31,10 @@ void setup(void) @@ -31,6 +31,10 @@ void setup(void)
isr_registry.init();
scheduler.init(&isr_registry);
// we need to stop the barometer from holding the SPI bus
pinMode(40, OUTPUT);
digitalWrite(40, HIGH);
ins.init(&scheduler);
}

Loading…
Cancel
Save