Hello,
I've implented the "hello world" example from the standard library.
The program is stuck at the line " mag.getEvent(&event); "
I've run an I2C scanner - the GY273 modul is recognized by my arduino.
magsensor-test.ino (4.5 KB)
Hello,
I've implented the "hello world" example from the standard library.
The program is stuck at the line " mag.getEvent(&event); "
I've run an I2C scanner - the GY273 modul is recognized by my arduino.
Post you code in code tags.
Looking at the I2C address (0x0D), your magnetometer breakout is using a QMC5883L rather than a HMC5883L, (despite the fact that your breakout may have HMC5883L written on it). You'll need to use a QMC5883L compatible library instead.
QMC5883 library among others.
all,
thanks for quick reply.
it is working now!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.