Skip to main content

General sensors

General sensors

📄️Analogue Input Settings

The pinned Capoworks build applies two scaling stages to analogue inputs that use the default ADC-subscription scaling: the MCU ADC reference converts ADC counts to pin volts, then the board divider converts pin volts to external sensor volts. A subscriber can override the second stage. Battery sensing explicitly passes an ADC-to-input factor of 1.0f and applies vbattDividerCoeff in its own LinearFunc; the ADC subscription substitutes the board divider only when a subscriber passes 0. These are calibration factors, not the sensor's own transfer function.