summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-05-21 11:24:13 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-05-21 11:24:13 +0200
commit94f30705b7f4a5b77c045a8c61c2c1a0ac594544 (patch)
tree59574b0a3869c7da74a2c4d22e03d00e1438f0f6
parentfe69c10bf36b54413f7c7de4abd8e2ac9c261814 (diff)
Change ITG3200 bandwidth.
-rw-r--r--itg3200.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/itg3200.h b/itg3200.h
index f03b6f3..90cc4b3 100644
--- a/itg3200.h
+++ b/itg3200.h
@@ -10,7 +10,7 @@ class ITG3200 : public I2CSensor {
void init() {
i2c_address = 0x68;
write(0x3e, 0x03); // Select clock reference.
- write(0x16, 0x18 | 0x05); // 2000 deg/sec range, 10 Hz bandwidth.
+ write(0x16, 0x18 | 0x02); // 2000 deg/sec range, 98 Hz bandwidth.
}
void update() {