Skip to content

Instantly share code, notes, and snippets.

View jung-youjin's full-sized avatar
πŸ’­
πŸ“š

YouJin Jung jung-youjin

πŸ’­
πŸ“š
View GitHub Profile
🌞 Morning 108 commits β–ˆβ–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 14.2%
πŸŒ† Daytime 250 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 32.9%
πŸŒƒ Evening 196 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 25.8%
πŸŒ™ Night 205 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 27.0%
@jung-youjin
jung-youjin / hx711.py
Created August 18, 2021 07:17 — forked from Richard-Major/hx711.py
Python port for RaspberryPI of the HX711 Breakout Board
#!/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