Comparing analog signals

I'm trying to read them. I'm using the code from a known to work voltage divider but my output reading is all over the place for some reason so I'll get back to you on that.