Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: defragster

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    1,007

    Nice work showing usage of :...

    Nice work showing usage of : cppreference.com/w/cpp/types/offsetof

    Not used that before - but seemed ordering in a struct could lead to ability of the compiler to resolve offsets without 'messy...
  2. Replies
    7
    Views
    1,007

    Like float, an 'int' is 32 bit? To be sure user...

    Like float, an 'int' is 32 bit? To be sure user int32_t. If everything is 4 bytes it will stack okay.

    Offhand ... without seeing the whole of the usage needs ... not sure of a neat way that...
  3. Replies
    7
    Views
    1,007

    Cool - glad issue popped out when I looked. That...

    Cool - glad issue popped out when I looked. That was just a HACK Test ...

    Indeed as noted GET and PUT index and work the same - but the code only showed .put()'s.

    Note:: that 'solution' only...
  4. Replies
    7
    Views
    1,007

    EEPROM indexes are to single BYTES - as indicated...

    EEPROM indexes are to single BYTES - as indicated in the posted code comment :: appropriate byte of the EEPROM.

    .put() and .get() are sizeof() aware and will write the four BYTES of the float...
Results 1 to 4 of 4