added analog input read program