The FlashEEPROM module uses a kind of journalling approach, so when you write something, if it is different (it checks if it's the same) then the change gets written onto the end of the data. Everything is only rewritten when the 4kB page of data gets full and needs to be compacted.
So... Lets assume you write 4 bytes of data:
Hope that helps!
© Espruino, powered by microcosm.
Report a problem