Wow, that was it!!! I had installed the cables for the voltmeter so they actually touched both the GPS cable and the compass cable, not very clever I can say now when I've learnt something new. So I rerouted the wires away from all this, twisted the GPS and compass wires, connected the battery...