constfloatmeasError=4.0;// Current or Voltage measurement error due to MONITOR_CONFIG resolution [%]
constunsignedintactualVoltRescale=2;// Voltage scale factor: measured voltage is 1/2 of actual voltage in order to measure values which are greater than ADC swing (which is ~0.9 V)