aaa

Dependencies:   HMC5883L mbed

Fork of hmc_test by Clark John

Revision:
0:f75bb42438db
--- /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();
+   
+}
+}