It seems to me that this feature is missing; when you want to read proximity values continuously without asserting the interrupts. The data at PDATA is not valid between reading and the next update cycle, so reading PVALID should ensure that it is valid (according to the datasheet)
I have added a similar function to colorDataReady(), completing the interface.
It seems to me that this feature is missing; when you want to read proximity values continuously without asserting the interrupts. The data at PDATA is not valid between reading and the next update cycle, so reading PVALID should ensure that it is valid (according to the datasheet)
I have added a similar function to colorDataReady(), completing the interface.