mapAnalogtoDigital function test works

experimentally on non PWM outputs.