From 8213af489deeb07e6228b4982b1a1414205d4c7d Mon Sep 17 00:00:00 2001 From: David Bailey Date: Sun, 15 May 2016 16:08:10 -0700 Subject: [PATCH] Update pieSensors.py --- pieSensors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pieSensors.py b/pieSensors.py index f99cc36..51dcf3f 100644 --- a/pieSensors.py +++ b/pieSensors.py @@ -14,8 +14,9 @@ from time import time while(True): - GPIO.output(channel, GPIO.LOW) bus.write_i2c_block_data(address, 0x01, [229,131]) + sleep(.01) + GPIO.output(channel, GPIO.LOW) sleep(0.00028) a2 = bus.read_i2c_block_data(address, 0x00, 2) sleep(0.00004)