Skip to content

Instantly share code, notes, and snippets.

View MaxPayne86's full-sized avatar

Massimo Pennazio MaxPayne86

View GitHub Profile
# Select the i2c bus
i2c dev <bus>
i2c dev 0
# Probe the device
i2c probe <chip>
i2c probe 0x60
# Read from the device
i2c read <chip> <chip address> <length> <memory address>