PaulRB:
PS. I updated my previous reply before I realised you had responded. Please re-read.
ok, I'm beginning to follow, issue is also I wrote the original code several months ago so i'm trying to remeber all the stuff from then.
So, instead of using the map function i would have?:
void loop() {
pinMode(A0, INPUT);
float v = analogRead(A0);
v = v * 10.0 / 1024;
float p = pow(10, v - 11.000);
So, Im basically taking the divided input of the 3.7v and calculating back to the 7.4, giving me 2.5*10^-4 torr? That looks like it will work, unless im missing it completely... is there anything else in the code that needs fixing? Thanks btw!! ![]()