change analog sensor example