HMC5883L magnetometer
Posted: Fri Jun 23, 2017 9:12 am
I am trying to get one of these magnetometers up and running.
I get a warning that the documented call hmc5883l.init(sda,scl) is deprecated and will be removed in the next release. I am instructed to use the hmc5883l.setup() call instead, but nowhere is this new call documented nor can I even find any source code for it.
Subsequently, my system announces that it can't find the device, so there might be something wrong with it, but I want to eliminate all other possibilities first. I am using a custom-built firmware, off the dev branch. ( BTW, where is the source for this, if different from the main branch?)
Anyone have this running successfully, I'd be interested to hear...
-------
PS. The unit I am actually using is a GY-271, which is hmc5883l-based. I don't know if this causes some problem (I shouldn't imagine so) , but I'll try it with Arduino later, too, just to be sure.
I get a warning that the documented call hmc5883l.init(sda,scl) is deprecated and will be removed in the next release. I am instructed to use the hmc5883l.setup() call instead, but nowhere is this new call documented nor can I even find any source code for it.
Subsequently, my system announces that it can't find the device, so there might be something wrong with it, but I want to eliminate all other possibilities first. I am using a custom-built firmware, off the dev branch. ( BTW, where is the source for this, if different from the main branch?)
Anyone have this running successfully, I'd be interested to hear...
-------
PS. The unit I am actually using is a GY-271, which is hmc5883l-based. I don't know if this causes some problem (I shouldn't imagine so) , but I'll try it with Arduino later, too, just to be sure.