Honeywell HMC6352 digital compass library.
Dependents: CanSat-C_test test AvoidTest Run-Avoid
Diff: HMC6352.h
- Revision:
- 1:c1e543f15817
- Parent:
- 0:83c0cb554099
- Child:
- 2:0a44cb78fd9a
--- a/HMC6352.h Sat Nov 27 12:15:03 2010 +0000 +++ b/HMC6352.h Thu Oct 28 09:33:50 2021 +0000 @@ -43,7 +43,7 @@ /** * Defines */ -#define HMC6352_I2C_ADDRESS 0x21 //7-bit address. 0x43 write, 0x42 read. +#define HMC6352_I2C_ADDRESS (0x21<<1) //7-bit address. 0x43 write, 0x42 read. //Commands. #define HMC6352_EEPROM_WRITE 0x77