Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: akmsensor.h
- Revision:
- 7:e269411568c9
- Parent:
- 4:af13b985c689
- Child:
- 11:cef8dc1cf010
--- a/akmsensor.h Fri May 13 23:52:37 2016 +0000 +++ b/akmsensor.h Thu May 26 21:56:45 2016 +0000 @@ -9,6 +9,7 @@ #define SPI_MISO P0_9 //SPI, MISO #define SPI_MOSI P0_10 //SPI, MOSI #define SPI_CS P0_11 //SPI, CS +#define SPI_DRDY P0_7 //SPI, DRDY // I2C #define I2C_SCL P0_8 //I2C, SCL @@ -19,7 +20,7 @@ #define DIGITAL_D1 P0_9 // DRDY Port -#define DRDY P0_11 +#define I2C_DRDY P0_11 // Analog In #define ANALOG_IN_PIN P0_5 //P05