fixed the MPU6000 test sketch

This commit is contained in:
Andrew Tridgell 2011-12-25 12:26:46 +11:00
parent 85167be181
commit 71e08f8484

View File

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