Arduino code for V5 with a twisted CMPS14 sensor
Mind that the z axis still needs to be vertical, so either pointing to the middle of earth or to the stars. Both possible.
Please adapt line 23 of the Arduino code according to your needs. Can’t do it in AOG yet.