analog input issuses

Then how did you determine that it is software not hardware?