I'm not sure to be honest. Are you running something other than 1v69? I did change something for I2C repeated start in trunk, and that may have broken something...
When something normal happens (like the start bit times out) it usually just says I2C device not responding. Other errors are things that I'd hope wouldn't usually happen, although they imply that it's got past the stage of responding to the start bit.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm not sure to be honest. Are you running something other than 1v69? I did change something for I2C repeated start in trunk, and that may have broken something...
When something normal happens (like the start bit times out) it usually just says
I2C device not responding
. Other errors are things that I'd hope wouldn't usually happen, although they imply that it's got past the stage of responding to the start bit.It comes straight from this code - check out the WAIT_UNTIL macros: https://github.com/espruino/Espruino/blob/master/targets/stm32/jshardware.c#L2171