From 7a4f0d10d805d0cc4ba377451555360b091a21f0 Mon Sep 17 00:00:00 2001 From: telliottosceola Date: Mon, 20 Nov 2017 11:41:45 -0600 Subject: [PATCH] Bug Fix Customer found bug in example on line 91. Please see customer's comments on forum post here: https://forum.ncd.io/content/MS5803_30BA --- Python/MS5803_30BA.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/MS5803_30BA.py b/Python/MS5803_30BA.py index 7a98475..e902f51 100755 --- a/Python/MS5803_30BA.py +++ b/Python/MS5803_30BA.py @@ -88,7 +88,7 @@ TEMP = TEMP - T2 OFF = OFF - OFF2 SENS = SENS - SENS2 -pressure = ((((D1 * SENS2) / 2097152) - OFF2) / 8192.0) / 10.0 +pressure = ((((D1 * SENS) / 2097152) - OFF) / 8192.0) / 10.0 cTemp = TEMP / 100.0 fTemp = cTemp * 1.8 + 32