AnsweredAssumed Answered

LSM303AGR: Magnetometer Interpreting values

Question asked by Fraser Law on Mar 20, 2018
Latest reply on Mar 21, 2018 by Fraser Law

Hi!

 

Fairly new to programming and embedded software in general but I'm having a problem with interpreting the values I am receiving from the magnetometer registers.

 

I'm able to get a value between 0 and 255 for each register (both high and low for X,Y and Z). I can't seem to workout what to do with these values; any help would/point in the right direction would be greatly appreciated!

 

Thanks,

Fraser

 

EDIT:

For anyone searching this in look for help, I have a github on this project: GitHub - FrazLaw/RoboPot: We are creating a web-based, plant pot positioning system with integrated light sensing featur… . 

The code isn't perfect but it may help someone else, like myself, looking for some assistance as it can be a fairly difficult task if you've never done something like this before.

 

Fraser

Outcomes