I checked that discussion but didn't see anything specific on the accel. I'm going to assume it's a BMA421 and follow the BMA423 specs. My issue is I'm new to I2C... how do I know what the device address is? And I see your version writes to a register in order to read it. Is that typical I2C?
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.
I checked that discussion but didn't see anything specific on the accel. I'm going to assume it's a BMA421 and follow the BMA423 specs. My issue is I'm new to I2C... how do I know what the device address is? And I see your version writes to a register in order to read it. Is that typical I2C?