fixed the MPU6000 test sketch

This commit is contained in:
Andrew Tridgell 2011-12-25 12:26:46 +11:00
parent 07041c2149
commit 760aa62c75
1 changed files with 4 additions and 0 deletions

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);
} }