Hi all
I am an electrician and new to code.I am trying unsuccesfully do far to alter the code for a program i have for navigation.The original code is for the CMPS11 compass but i have an LSM303DCHL .So far i have tried different libraries
And changed 12c address as per datasheet to 0x19 from CMPS address of 0x60 but the compass will not interact with rest of program.Any advice would really welcome as i am now out of ideas.
Try this library and the examples that come with it so you can verify that you can actually read the heading: GitHub - pololu/lsm303-arduino: Arduino library for Pololu LSM303 boards