add analogReadResolution, map analogReference Values from protocol to predefined constants