To see a real-life example open AS7 project file HMC5883L_.atsln and upload the HMC5883L_.ino to a micro-controller. ![]() **The Due MCU cannot be exposed to the voltage above 3.3V level! Example *To change pin number use HMC5883L_A_DATA_READY_PIN define in Config.h file. HMC5883L board or any IMU sensor with HMC5883L.Arduino Due (tested) or Arduino Uno (any ATmega 328P) board,.Visual Micro addon for above AS7 or VS.Atmel Studio 7 (tested) or Visual Studio,.But it is possible to run it with Arduino IDE by adding files to project (probably there will be need to change the #include paths). The working example for this library is written in Atmel Studio 7 with Visual Micro addon. The library also uses Status Class which is optional. Library uses I2C Interface, I2C Sensor Interface to simplify and unify working with I2C devices. ![]() The library is intended to work without any user interference, just open project and upload working example and use it. C++ library for HMC5883L magnetometer for I2C communication with Arduino Wire library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |