read_analog can now be called independently