Skip to content
Snippets Groups Projects
Commit db763cc2 authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

wip

parent e935fe43
Branches
No related tags found
No related merge requests found
......@@ -157,9 +157,9 @@ void setup() {
I2C_write_reg(address,0x12,0x44); // CTRL3: block data update, auto inc addresses
I2C_write_reg(address,0x13,0x00); // CTRL4: for interrupts
I2C_write_reg(address,0x14,0x00); // CTRL5: for interrupts
I2C_write_reg(address,0x15,0x04); // CTRL6: gyro 2000 dps
I2C_write_reg(address,0x15,0x03); // CTRL6: gyro 1000 dps
I2C_write_reg(address,0x16,0x00); // CTRL7: analog hub
I2C_write_reg(address,0x17,0x01); // CTRL8: accel 4g
I2C_write_reg(address,0x17,0x00); // CTRL8: accel 2g
I2C_write_reg(address,0x18,0x00); // CTRL9: accel filter
I2C_write_reg(address,0x19,0x00); // CTRL10: self test
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment