This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
π Morning 108 commits βββββββββββββββββββββ 14.2% | |
π Daytime 250 commits βββββββββββββββββββββ 32.9% | |
π Evening 196 commits βββββββββββββββββββββ 25.8% | |
π Night 205 commits βββββββββββββββββββββ 27.0% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Development for reading sparkfun HX711 load cell amp | |
import RPi.GPIO as GPIO | |
import time | |
GPIO.setmode(GPIO.BCM) | |
class HX711: | |
def __init__(self, dout, pd_sck, gain=128, readBits=24): | |
self.PD_SCK = pd_sck | |
self.DOUT = dout |