Back to Index

Converts a raw 0-10V input to millivolts (0..10000), clamped.

Signature

AIN_0_10V_TO_mV(raw, &mV);

Example

// Example pattern from analog_macros.ems
AIN_0_10V_TO_mV(ain(1), mV);