[go: up one dir, main page]

Skip to content
/ OPI.GPIO Public

A python GPIO library for Orange Pi Zero2, OrangePi Zero 2, Orange Pi3, and Orange Pi Lite2.

License

Notifications You must be signed in to change notification settings

eutim/OPI.GPIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPI.GPIO

A modified version of OrangePi.GPIO to bring suport for the Orange Pi Zero2, Orange Pi 3 and the Orange Pi Lite2

Installation
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
Usage
  • GPIO.setboard(GPIO.H616) # Orange Pi Zero2 board
  • GPIO.setboard(GPIO.PI3) # Orange Pi3 board
  • GPIO.setboard(GPIO.LITE2) # Orange Pi Lite2 board
To-Do
  • Testing Inputs
  • Testing Outputs
  • Testing I2C
  • Testing SPI
  • Testing Interrupts
  • Testing PWM
  • Testing UART
  • Testing TWI
  • Testing ADC
  • Fix BCM mode

References

OrangePi.GPIO

OPi.GPIO

wiringOP

RPi.GPIO

About

A python GPIO library for Orange Pi Zero2, OrangePi Zero 2, Orange Pi3, and Orange Pi Lite2.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published