LSM303AGR: Magnetometer Interpreting values
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:
https://github.com/FrazLaw/RoboPot
.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
#e-compasses #e-compass #lsm303agr