When I looked at the timeout length, I don't think there was any specific spec - but 1ms seemed the one everyone went for - so it's doable, but a bit close and I guess it could end up being unreliable.
Good idea about the 'common' I2C slave mode. We could do a similar one with SPI slave as well. Just something like an array of arrays that could be indexed for reading - and writes could just go via a callback.
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.
When I looked at the timeout length, I don't think there was any specific spec - but 1ms seemed the one everyone went for - so it's doable, but a bit close and I guess it could end up being unreliable.
Good idea about the 'common' I2C slave mode. We could do a similar one with SPI slave as well. Just something like an array of arrays that could be indexed for reading - and writes could just go via a callback.