easymotor-v3: Fix pressure to adc conversion to use reference voltage
authorKeith Packard <keithp@keithp.com>
Thu, 19 Jan 2023 21:20:56 +0000 (13:20 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 19 Jan 2023 21:20:56 +0000 (13:20 -0800)
commit28e4cb24e0f0ee5abf66c5a0466edfd0e31f4df0
treef51ab395b4871934758bab37b7800f3d1a6c4124
parent7b40813fdafce4ebd635aceb4c32355339a4d98d
easymotor-v3: Fix pressure to adc conversion to use reference voltage

Wasn't taking reference voltage into account, which meant the computed values
were 3.3 times too high.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/easymotor-v3/ao_pins.h