Jeremie-C 1ee7587167 Board and BCM update
- Join OPi PC and PCPLUS
- Update mode BCM
- Prepare to pypi
2018-06-03 14:55:49 +02:00
2018-06-03 14:55:49 +02:00
2018-05-20 11:41:45 +02:00
2018-06-03 14:55:49 +02:00
2018-05-09 23:57:28 +02:00
2018-05-09 23:57:28 +02:00
2018-06-03 14:55:49 +02:00
2018-06-03 14:55:49 +02:00
2018-06-03 14:55:49 +02:00

OrangePi.GPIO

This is a modified version of RPi.GPIO for Orange Pi Boards.

It is based on the original RPi.GPIO.

Installation

With PIP

sudo pip install OrangePi.GPIO

Manual

sudo apt-get update
sudo apt-get install python-dev git
git clone https://github.com/Jeremie-C/OrangePi.GPIO
cd /OrangePi.GPIO
sudo python setup.py install

Supported Boards

  • OPi ZERO
  • OPi ZERO PLUS
  • OPi ZERO PLUS2 H3
  • OPi ZERO PLUS2 H5
  • OPi R1
  • OPi PC & PC PLUS
  • OPi ONE
  • OPi LITE
  • OPi PC2
  • OPi PRIME

Usage

Same as RPi.GPIO but with a new function to choose OrangePi Board.

import OPi.GPIO as GPIO
GPIO.setboard(GPIO.ZEROPLUS)
GPIO.setmode(GPIO.BOARD)
GPIO.output(5, 1)

Many demo is on the example folder

Description
No description provided
Readme MIT 66 KiB
Languages
C 90.2%
Python 7.9%
C++ 1.9%