Added Analog sensor capability