- /* Value is the sum of multiple 12-bit ADC acquisitions, per the attached
- * MultiSampleC component. Convert the value to degrees. Note, the values
- * 360 and 0 (zero) represent the same angular position. We don't do a
- * modulus operation here because we fully expect the client will do
- * additional processing that will likely involve a modulus function anyway.
- */
- value = (uint16_t)(((uint32_t)(value / call Count.get()) * 360 + 2047) /
- 4096);
-