RPI-python-dat

apt-get install pip

Note, selecting 'python3-pip' instead of 'pip'

setup env

python3 -m venv .venv
source .venv/bin/activate

pip install RPi.GPIO

rpi library

  • pigpio
  • pi74HC595
  • SN74HC165
  • wiringpi

  • build-in library: time, threading,

hardware driver

ref