wardjm / esp32-ulp-i2c

This is an example of how to use the hardware i2c controller on the ESP32 ultra low power (ulp) coprocessor.
40 stars 1 forks source link

16 bit values? #2

Open mahesh2000 opened 4 years ago

mahesh2000 commented 4 years ago

hi, i don't believe your method can be used to read 16-bit values; some sensors provide this. see https://github.com/tomtor/ulp-i2c for a bit-banged approach to the problem.

frankheisig71 commented 3 years ago

if you want to use macros reading 16 bit here is a example implementation: https://github.com/frankheisig71/TestAccel