AM2320 sensor on Raspberry pi
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sensors first commit May 14, 2017
.gitignore first commit May 14, 2017
README.md first commit May 14, 2017
am2320.py first commit May 14, 2017
requirements.txt first commit May 14, 2017

README.md

am2320 sensor

Raspberry Pi上でAM2320センサーを使うためのPythonコード。

usage

smbusのインストール

$ sudo apt-get install python-smbus

Pythonコードは以下。

$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ python am2320.py