Skip to content

Instantly share code, notes, and snippets.

View gguuss's full-sized avatar

Gus Class gguuss

View GitHub Profile
@projetsdiy
projetsdiy / micropython i2c scanner
Last active May 3, 2024 19:45
Micropython i2c scanner
# Scanner i2c en MicroPython | MicroPython i2c scanner
# Renvoi l'adresse en decimal et hexa de chaque device connecte sur le bus i2c
# Return decimal and hexa adress of each i2c device
# https://projetsdiy.fr - https://diyprojects.io (dec. 2017)
import machine
i2c = machine.I2C(scl=machine.Pin(5), sda=machine.Pin(4))
print('Scan i2c bus...')
devices = i2c.scan()
@beccasaurus
beccasaurus / _ textme _ .md
Last active November 14, 2016 20:07
textme :: Text me after a long-running command finishes

xkcd compiling comic

Do you find yourself frequently getting coffee while you wait for your code to compile? ☕

Test suite take a long time to run?

Application taking awhile to deploy?

Not to worry!