Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of AkmSensor by
Diff: akmirsensor.cpp
- Revision:
- 7:e269411568c9
- Parent:
- 3:a817a3b3e9ae
- Child:
- 9:6fa3e7b17c27
--- a/akmirsensor.cpp Fri May 13 23:52:37 2016 +0000
+++ b/akmirsensor.cpp Thu May 26 21:56:45 2016 +0000
@@ -26,8 +26,7 @@
primaryId = id;
subId = subid;
- interrupt = new InterruptIn(DRDY);
-
+ interrupt = new InterruptIn(I2C_DRDY);
I2C* i2c = new I2C(I2C_SDA,I2C_SCL);
i2c->frequency(I2C_SPEED_100KHZ);

