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.
magnetometer.h
00001 #ifndef SKYSCRAPER_MBED_MAGNETOMETER_H_INCLUDED 00002 #define SKYSCRAPER_MBED_MAGNETOMETER_H_INCLUDED 00003 00004 #include <quan/out/time.hpp> 00005 #include <quan/out/magnetic_flux_density.hpp> 00006 #include <quan/three_d/out/vect.hpp> 00007 00008 QUAN_QUANTITY_LITERAL(magnetic_flux_density,gauss); 00009 QUAN_QUANTITY_LITERAL(magnetic_flux_density,milli_gauss); 00010 QUAN_QUANTITY_LITERAL(magnetic_flux_density,uT); 00011 00012 bool mag_init(); 00013 bool mag_start_measurement(); 00014 bool mag_data_ready(); 00015 bool mag_read(quan::three_d::vect<quan::magnetic_flux_density::uT> & v); 00016 00017 #endif 00018
Generated on Fri Jul 15 2022 16:09:02 by
