Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Update pieSensors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed May 15, 2016
1 parent 0f13f89 commit 8213af4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pieSensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8213af4

Please sign in to comment.