Skip to content

Python library for the HT0740 40V / 10A Switch Breakout

License

Notifications You must be signed in to change notification settings

pimoroni/ht0740-python

Repository files navigation

HT0740 40V / 10A Switch Breakout

Build Status Coverage Status PyPi Package Python Versions

Installing

If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:

pip install ht0740

Otherwise our install script will set one up for you.

Stable library from GitHub:

git clone https://github.com/pimoroni/ht0740-python
cd ht0740-python
./install.sh

Latest/development library from GitHub:

git clone https://github.com/pimoroni/ht0740-python
cd ht0740-python
./install.sh --unstable

Note Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:

source ~/.virtualenvs/pimoroni/bin/activate