I am a recent student interested in Nordic. I know that my skills are very, very poor. Sorry for asking this question T_T
I want to use i2c sensor vl53l1x. I tried to refer to the SDK's basic example twi_sensor, but I couldn't understand the tx of the temperature sensor lm75b.
What I understand is that according to the data sheet, lm75b is W/R (that is, 3 bytes) and vl53l1x is [address, index1, index0, value] (that is, 4 bytes). W/R.
However, in the datasheet of vl53l1x, only the registers are modelID(0xEA), moduleType(0xCC), and Mask revision(0x11). (I found out through many searches that vl53l1x_address is 0x29.)
Not only can I not understand why uint8_t reg[] in the lm75b example was declared that way, and I don't know how to declare reg[] to test vl53l1x.
Please help ㅠㅠ