@mattmagic - I tested your code here and it works fine - with a little change.
The EXPECTED_WHOAMI should be 0x6A (LSM6D3TR-C)
Rather check the response is OK and then check the response value…
@mattmagic - I tested your code here and it works fine - with a little change.
The EXPECTED_WHOAMI should be 0x6A (LSM6D3TR-C)
Rather check the response is OK and then check the response value…