diff --git a/MPU6050.h b/MPU6050.h index 66b7f9f..9ba54f9 100644 --- a/MPU6050.h +++ b/MPU6050.h @@ -5,11 +5,7 @@ // MPU-6050 register addresses #define MPU6050_REG_ACCEL_XOUT_H 0x3B -#define MPU6050_REG_ACCEL_XOUT_L 0x3C #define MPU6050_REG_GYRO_XOUT_H 0x43 -#define MPU6050_REG_GYRO_XOUT_L 0x44 -#define MPU6050_TEMP_OUT_H 0x41 -#define MPU6050_TEMP_OUT_L 0x42 #define MPU6050_REG_PWR_MGMT_1 0x6B #include diff --git a/README.md b/README.md index e9e503c..70eb548 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,8 @@ # AVR Playground -See: +See [AVR i2c library](https://github.com/Sovichea/avr-i2c-library). -- [AVR i2c library](https://github.com/Sovichea/avr-i2c-library). -- [MPU-6000/6050 Datasheet](https://www.invensense.com/wp-content/uploads/2015/02/MPU-6000-Datasheet1.pdf) -- [MPU-6000/6050 Register Map](https://www.invensense.com/wp-content/uploads/2015/02/MPU-6000-Register-Map1.pdf) -- [QEMU AVR Docs](https://www.qemu.org/docs/master/system/target-avr.html) +[QEMU AVR Docs](https://www.qemu.org/docs/master/system/target-avr.html) ```bash sudo dnf install avr-binutils avr-libc avr-gcc avr-gcc-c++ avrdude qemu-system-avr diff --git a/makefile b/makefile index e45067f..41ecf40 100644 --- a/makefile +++ b/makefile @@ -70,15 +70,4 @@ size: $(TARGET).hex # Reset target reset: - avrdude -p $(MCU) -c $(PROGRAMMER) -E reset - -read-flash: - avrdude -p $(MCU) -c $(PROGRAMMER) -U flash:r:flash.hex:i - -read-eeprom: - avrdude -p $(MCU) -c $(PROGRAMMER) -U eeprom:r:eeprom.hex:i - -read-fuses: - avrdude -p $(MCU) -c $(PROGRAMMER) -U lfuse:r:-:h -U hfuse:r:-:h -U efuse:r:-:h - -.PHONY: all clean flash qemu asm serial reset read-flash read-eeprom size \ No newline at end of file + avrdude -p $(MCU) -c $(PROGRAMMER) -E reset \ No newline at end of file