Giter Site home page Giter Site logo

scramblerusa / opi.gpio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nadavk/opi.gpio

0.0 0.0 0.0 77 KB

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

License: MIT License

Python 7.48% C 92.52%

opi.gpio's Introduction

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 python3 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

opi.gpio's People

Contributors

eutim avatar scramblerusa avatar nadavk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.