The PCA9501 contains an internal address counter that increments after each read or
write access and as a result, if the last word accessed was at address ‘n’ then the address
counter contains the address ‘n + 1’.
So if you make two readings after each other, the address counter are moving further.
So you have to reset the adress counter to the beginning of your data, to get the same out again.
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.
According to the datasheet:
The PCA9501 contains an internal address counter that increments after each read or
write access and as a result, if the last word accessed was at address ‘n’ then the address
counter contains the address ‘n + 1’.
So if you make two readings after each other, the address counter are moving further.
So you have to reset the adress counter to the beginning of your data, to get the same out again.