Forked from Jose R. Padron and Aaron Berk's library, customized for my specific application using 9DoF-Stick by Sparkfun.

Fork of HMC5843 by Jose R Padron

HMC5843 is triple axis, digital interface compass (geomagnetic sensor).

This library is forked from Jose R. Padron and Aaron Berk's work.

This library is for specific application using 9DoF-Stick.

Datasheet:

http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf

HMC5843 は3軸のデジタルインターフェースを備えたコンパス(地磁気センサ)です。

このライブラリは 9DoF-Stick を使用した特定の企画のために保守しています。

mbed IDEが日本語をサポートするまでは英語でコメントを書いていきますが、サポートした後もきっと英語で書いていくでしょう。

Files at this revision

API Documentation at this revision

Comitter:
elrafapadron
Date:
Sat Oct 23 23:39:03 2010 +0000
Parent:
0:ae7d06398888
Child:
2:fdab96fc6fff
Commit message:
removed comments

Changed in this revision

HMC5843.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HMC5843.cpp	Sun Oct 17 22:22:39 2010 +0000
+++ b/HMC5843.cpp	Sat Oct 23 23:39:03 2010 +0000
@@ -138,14 +138,4 @@
     readings[2]= (int)rx[0]<<8|(int)rx[1];
     
 
-    //readings[0] = (int)buffer[0] << 8 | (int)buffer[1];
-    //readings[1] = (int)buffer[2] << 8 | (int)buffer[3];
-    //readings[2] = (int)buffer[4] << 8 | (int)buffer[5];
-    
-   // readings[0]=buffer[0];
-     //readings[1]=buffer[1];
-     // readings[2]=buffer[2]; 
-       // readings[3]=buffer[3];
-         // readings[4]=buffer[4];
-           // readings[5]=buffer[5];
 }