a-a

Dependencies:   HMC5883L mbed

Files at this revision

API Documentation at this revision

Comitter:
njamena
Date:
Sat Oct 21 08:27:50 2017 +0000
Commit message:
??;

Changed in this revision

HMC5883L.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r f75bb42438db HMC5883L.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HMC5883L.lib	Sat Oct 21 08:27:50 2017 +0000
@@ -0,0 +1,1 @@
+http://os.mbed.com/users/Joeatsumi/code/HMC5883L/#52ffe160f17f
diff -r 000000000000 -r f75bb42438db main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Oct 21 08:27:50 2017 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+#include "HMC5883L.h"
+
+Serial pc(USBTX,USBRX);
+HMC5883L hmc(p28,p27);
+int main() {
+    hmc.init();
+    //hmc.setConfigurationA()
+    hmc.getXYZ();
+    while(1)
+    {hmc.getXYZ();
+   
+}
+}
diff -r 000000000000 -r f75bb42438db mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Oct 21 08:27:50 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed/builds/b484a57bc302
\ No newline at end of file