亮 菅野
/
hmc_test
aaa
Fork of hmc_test by
Revision 1:7e7d6478f164, committed 2017-10-21
- Comitter:
- Tennensui
- Date:
- Sat Oct 21 12:24:01 2017 +0000
- Parent:
- 0:f75bb42438db
- Commit message:
- ???????
Changed in this revision
main.cpp | Show diff for this revision Revisions of this file |
diff -r f75bb42438db -r 7e7d6478f164 main.cpp --- a/main.cpp Sat Oct 21 08:27:50 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -#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(); - -} -}