Reading analog inputs for a breif period of time