Thank you both - it looks like that has worked. I think that I accidentally wrote to the register which switched the sensor to SPI mode, which is why I couldn't see it again.
Fortunately, a battery discharge followed by 48 hours in a drawer has reset the sensor, and it now appears to be working again.
© Espruino, powered by microcosm.
Report a problem