A modified version of OrangePi.GPIO to bring suport for the Orange Pi Zero2, Orange Pi 3 and the Orange Pi Lite2
sudo apt-get update
sudo apt-get install python-dev git
git clone https://github.com/eutim/OPI.GPIO
cd OPI.GPIO
sudo python setup.py install
- GPIO.setboard(GPIO.H616) # Orange Pi Zero2 board
- GPIO.setboard(GPIO.PI3) # Orange Pi3 board
- GPIO.setboard(GPIO.LITE2) # Orange Pi Lite2 board
- Testing Inputs
- Testing Outputs
- Testing I2C
- Testing SPI
- Testing Interrupts
- Testing PWM
- Testing UART
- Testing TWI
- Testing ADC
- Fix BCM mode