I tried a firmware reset, to rule out that something I have installed was causing this. No change.
Then I tried completely draining the battery (I understand that at least some of the components on the board always have electricity, unless the battery is dead). Leaving the GPS on for a night makes sure everything is thoroughly dead. After charging, barometer works again!
Possibly related to this: I was working on some code that powers up the barometer, makes a reading and powers it down again every X minutes. Some logic that re-tries if the barometer returns 0 or undefined was botched, resulting in cascaded endless loops of power-on, read, power-off of the barometer. That might have put the barometer chip in a funny state.
© Espruino, powered by microcosm.
Report a problem