summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-07-31 01:41:44 +0200
committerSebastian Reichel <sre@ring0.de>2012-07-31 01:41:44 +0200
commit63f3f8502ae035886ee190cf3f57b68d43b35009 (patch)
tree2cb2f4100dde8cdcee9536b28b17a0122569902d
parentd7c0a3b482ca0b564412a4f622876802cf571bd1 (diff)
downloadmicrocopterd-63f3f8502ae035886ee190cf3f57b68d43b35009.tar.bz2
default to i2c device 0 (for usage with Raspberry Pi)
-rw-r--r--microcopter.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/microcopter.cfg b/microcopter.cfg
index 70441a7..3d47a7d 100644
--- a/microcopter.cfg
+++ b/microcopter.cfg
@@ -9,22 +9,22 @@ barometer = BMP085
logfile = microcopterd.log
[ITG3200]
-i2c-adapter = 3
+i2c-adapter = 0
#i2c-address = 0x68
i2c-address = 104
[ADXL345]
-i2c-adapter = 3
+i2c-adapter = 0
#i2c-address = 0x53
i2c-address = 83
[HMC5843]
-i2c-adapter = 3
+i2c-adapter = 0
#i2c-address = 0x1e
i2c-address = 30
[BMP085]
-i2c-adapter = 3
+i2c-adapter = 0
#i2c-address = 0x77
i2c-address = 119