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.
© Espruino, powered by microcosm.
Report a problem