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.
Revision 2:b958ed2f998d, committed 2016-09-19
- Comitter:
- MikkoZ
- Date:
- Mon Sep 19 12:42:59 2016 +0000
- Parent:
- 1:a531b03fca97
- Commit message:
- Carriage return added to messages. library updated.
Changed in this revision
diff -r a531b03fca97 -r b958ed2f998d KX022.lib --- a/KX022.lib Wed Dec 30 16:18:11 2015 +0000 +++ b/KX022.lib Mon Sep 19 12:42:59 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/Rohm/code/KX022/#e642dd732c4b +https://developer.mbed.org/teams/Rohm/code/KX022/#e2d1659fe67e
diff -r a531b03fca97 -r b958ed2f998d main.cpp
--- a/main.cpp Wed Dec 30 16:18:11 2015 +0000
+++ b/main.cpp Mon Sep 19 12:42:59 2016 +0000
@@ -6,10 +6,10 @@
KX022 acc(I2C_SDA, I2C_SCL);
int main() {
- pc.printf("\nKX022 Accelerometer library test program.\n");
+ pc.printf("\nKX022 Accelerometer library test program.\n\r");
while(1) {
wait(0.5);
- pc.printf("x=%7.4f, y=%7.4f, z=%7.4f\n", acc.getAccX(), acc.getAccY(), acc.getAccZ());
+ pc.printf("x=%7.4f, y=%7.4f, z=%7.4f\n\r", acc.getAccX(), acc.getAccY(), acc.getAccZ());
}
}
diff -r a531b03fca97 -r b958ed2f998d mbed.bld --- a/mbed.bld Wed Dec 30 16:18:11 2015 +0000 +++ b/mbed.bld Mon Sep 19 12:42:59 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/2e9cc70d1897 \ No newline at end of file
Rohm/Kionix KX022-1020 | Accelerometer