COMPILES; merged branch addRefResistorLevelSensor into mergeLevelCode