Hi there, I found a bug in the SetSensorMode function, i.e. the sensor mode is not written to the device and I fixed it in this commit. In addition, I tested the RGB mode and added a few functions to return the original values ranging from 0 to 1023 for greater precision. I also recompiled the static library.
Please do tell me if there are any improvements I need to make and I will try my best to edit them in.
Hi there, I found a bug in the SetSensorMode function, i.e. the sensor mode is not written to the device and I fixed it in this commit. In addition, I tested the RGB mode and added a few functions to return the original values ranging from 0 to 1023 for greater precision. I also recompiled the static library.
Please do tell me if there are any improvements I need to make and I will try my best to edit them in.