Closed mark255bits closed 3 years ago
Fixed getProxGain method so it returns the content of the bitfield PGAIN as in the datasheet. Now calling the method getProxGain will return 0, 1, 2 or 3 as in the APDS9960 datasheet. Was tested together with the proximity example.
thank you :)
Fixed getProxGain method so it returns the content of the bitfield PGAIN as in the datasheet. Now calling the method getProxGain will return 0, 1, 2 or 3 as in the APDS9960 datasheet. Was tested together with the proximity example.