sorry to others for this crap spoke here
which does work but it is not accurate
Not accurate? Or not correct? Your accuracy goes all to hell when you map the 4 digit value to one digit.
You need to explain what you mean by "is not accurate", how you know it (whatever it is) is not accurate, and why you are pissing away any chance of being accurate.
Also, you need to post a wiring diagram. "both BTN7960 current pins linked togther and 1k resistor pulling them low" does not make sense. A wiring diagram would.
i don't no this is why i am asking
You don't know why you are calling map()? You want us to explain to you why you wrote the code that way? Nope. Doesn't work that way.
i have a 1k at Ris12 inset of the 470
Why? Use the proper resistor.
i did not say that, so you are making things up now
Yes, you did. I asked:
why you are pissing away any chance of being accurate.
And you said:
don't no this is why i am asking
You did NOT say "Where am I doing that?" or "How am I doing that?".
ok i don't no what your problem is
And I don't know what yours is, so we're even. I've invested enough in this thread. Good luck.