2021-01-07 05:07 AM
I am able to read the output register 0xf2.
And knows this works correctly as I can observe the HEX values change when I hover and remove my finger away from the proximity sensor.
However am unsure if I am writing to the registers correctly as they are not impacting the output results as expected.
Please see files attached:
Data/application Guide of VCNL36887S
Images of function used to read from the output register
and an image of how I am attempting to write.
I will also include my code from Keil and CubeMX
Any advice would be appreciated
Best Regards,
Luke