Color sensing not working after DFU. No color reflection LED activity noted. I would like to have more detailed info on how the color sensing code translates the raw color data to #XXXXXX value on the iPad display.
The Thingy:52 uses a BH1745 Color Sensor. The sensor senses red, green, and blue light (RGB) and converts them to digital values, and these values are sent over i2c to the nRF52. The RGB values are then used in the Color characteristic found in the Environment service. The initial raw color values are 16-bit values, these are normalized and convert into standard 8-bit RGB values. Then these values(red, green and blue in range 0 to 255) are convert into a hexadecimal string.
Thank you very much, Sigurd, for the excellent answer.