Python library for Seeedstudio Grove devices
grove.py
Python library for Seeedstudio Grove Devices on embeded Linux platform, especially good on below platforms:
- Coral Dev Board
- NVIDIA Jetson Nano
- Raspberry Pi
# Architecture
To operate grove sensors, the grove.py depends many hardware interface libraries such as mraa/upm/smbus2.
For beginner or library user only, please install with online method.
For developer or advanced user, please install dependencies
and then install grove.py with source code.
Online install
install/update all dependencies and latest grove.py
curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s -
Install grove.py
From source code
git clone https://github.com/Seeed-Studio/grove.py
cd grove.py
# Python2
sudo pip install .
# Python3
sudo pip3 install .
Usage
Basic GPIO Input & Output demo
import time
from