Yeah - for now I can read it in chunks, though these have to be pretty small chunks if you're running short on memory.
I2C.writeTo() works fine with Uint8Arrays and strings. What I do to write to the eeprom if the data is passed as an array (since I can't count on the array being splicable, since it could be a Uint8Array) is to convert it and the address to strings and concatenate them.
In any event, my eeprom module seems to work pretty well. I'll submit it tonight.
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.
Yeah - for now I can read it in chunks, though these have to be pretty small chunks if you're running short on memory.
I2C.writeTo() works fine with Uint8Arrays and strings. What I do to write to the eeprom if the data is passed as an array (since I can't count on the array being splicable, since it could be a Uint8Array) is to convert it and the address to strings and concatenate them.
In any event, my eeprom module seems to work pretty well. I'll submit it tonight.