john mayer
/
AK8963
Preliminary changes
Diff: ak8963.cpp
- Revision:
- 2:9dff393e5e86
- Parent:
- 1:a362b9e3aac2
- Child:
- 3:232745b180d9
--- a/ak8963.cpp Tue Aug 18 18:06:02 2015 +0000 +++ b/ak8963.cpp Fri Sep 04 23:39:10 2015 +0000 @@ -98,7 +98,7 @@ data[1+i] = buf[i]; } - // Writes a start address. Doesn't send a stop condition. + // Writes data if (connection->write((slaveAddress << 1), data, bufLength) != 0) { // I2C write failed. return AK8963::ERROR_I2C_WRITE;