Get raw ADC value (0-1023 for 10-bit, 0-4095 for 12-bit ADC)
| 43 | |
| 44 | // Get raw ADC value (0-1023 for 10-bit, 0-4095 for 12-bit ADC) |
| 45 | u16 raw() const { return mCurrentValue; } |
| 46 | |
| 47 | // Get normalized float value (0.0f - 1.0f) based on calibration range |
| 48 | // Maps mMinValue -> 0.0f and mMaxValue -> 1.0f |
no outgoing calls
no test coverage detected