adding analog input tutorial