Erosand

Newcomers
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi! I'm using the CMPS2 compass module with an Arduino Uno and the example code from https://reference.digilentinc.com/reference/pmod/pmodcmps2/start#example_projects to get a heading from the compass module, but it seems to be only jumping between specific values and never taking the values in between. For example, running the program while keeping the module horizontal and slowly spinnng it 360° around the z-axis gives an output like this: Heading = 231.18° Heading = 231.19° Heading = 186.09° Heading = 141.09° Heading = 186.12° Heading = 231.10°