The helper functions to encode and decode 32-bit signed ints are easy (i picked 32-bit because that's what espruino uses for ints). My vote is that if you want that, you do:
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.
The helper functions to encode and decode 32-bit signed ints are easy (i picked 32-bit because that's what espruino uses for ints). My vote is that if you want that, you do:
rom.write(0,rom.nToS(1231864));
rom.aToN(rom.read(0,4));
Those two functions cost 16 jsvars (hand minified cause I hit the cap) combined - this probably is okay?
New AT24 is working now. Next is AT25.