Hello,
I am using sensors that measure voltage or current from -10-10V or A. They are measured in the classic Analog pin format, from 0-1024.. converting this to 0-5V isn't a problem, it's just multiplying the number by 4.9 and i get milivolts, but i don't need 0-5V, i need -10-10 and i have no idea how i would do that.. Could someone help?
2 Likes
values[4][i] = map(analogRead(A4), 0, 1023, -1000, 1000); // Sonda
This worked very well for me, thanks ![]()
1 Like
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.