Help with program written.

So I had a guy write me a program and he is still helping me solve the issue but extra input would be helpful. I won't give full program details but part of it is to properly detect voltage and sofar in the debug reading it will detect voltage but it's always the same. The voltage can be anything in the 0 to 5v range and the result is analog input reading 1 and voltage is 0.1v. How can it always be the same voltage ?

Well, I won't give a full answer.

(See where this is going?)

(deleted)

In the lower right corner of your posted image is where the problem is.

.

I meant I wasent going to explain the Irrelavent stuff...Lol.

I thought maybe it was a know problem.... something with an obvious cause...sorry

Hi,

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom... :slight_smile: