Skip to content

Instantly share code, notes, and snippets.

@lxxstc
Last active January 4, 2018 18:06
Show Gist options
  • Save lxxstc/deec4e4f381f7933b78da26e3f1ab74c to your computer and use it in GitHub Desktop.
Save lxxstc/deec4e4f381f7933b78da26e3f1ab74c to your computer and use it in GitHub Desktop.
$ sudo i2cdetect -y 1
  • 如果出现以下错误
Error:Could not open file `/dev/i2c-1': No such file or dire
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
$ git clone https://github.com/CRImier/python-MLX90614/
$ cd python-MLX90614
$ python example.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment