Hello,
Can anyone advise please?
I’m making a device that measures pressure in PSI on analog pin, with a different device counting on a digital pin.
I’ve connected up a pressure sensor (5v with a signal wire, advertised at 0.5v-4.5v output on a scale of 0-200 PSI. I’ve connected up to an analogue pin, analog read, then mapped to the range, but whilst using debugger the watch node doesn’t change much if at all. It also throws up some funky signs in the serial box.
The other odd thing is that the debugger works great for the counter on a digital pin, but this stops when the analog pin is used.
I’m just unsure if this is an analog refresh rate issue, or a quirk of the debugger? Or am I asking too much of the genuine Arduino uno?
Thanks everyone, hope your all keeping safe!