You are reading a single comment by @avanc and its replies. Click here to read the full conversation.
  • I want to store an integer using FlashEEPROM. However, only the lowest 8 bits are stored:

    > var f = new (require("FlashEEPROM"))();
    > f.write(1, 1025);
    > f.read(1);
    =new Uint8Array([1])
    

    E.toUint8Array() also doesn't help:

    E.toUint8Array(1025)
    =new Uint8Array([1])
    
About

Avatar for avanc @avanc started