"A module to control Odroid GPIO channels"
Project description
Odroid.GPIO
Installation
sudo apt update \
&& sudo apt install -y python3 python3-dev python3-pip \
odroid-wiringpi libwiringpi-dev
python3 -m pip install -U --user pip Odroid.GPIO
Blink example
import Odroid.GPIO as GPIO
# You can also use 'import RPi.GPIO as GPIO'.
import time
'''
GPIO.BCM == GPIO.SOC
GPIO.BOARD
GPIO.WIRINGPI
'''
GPIO.setmode(GPIO.BOARD)
GPIO.setup(13, GPIO.OUT)
while True:
GPIO.output(13, GPIO.HIGH)
time.sleep(1)
GPIO.output(13, GPIO.LOW)
time.sleep(1)
Changelog
Ref: CHANGELOG
Odroid.GPIO (0.1.2) unstable; urgency=medium
- Update MANIFEST.in
-- Hyeonki Hong hhk7734@gmail.com Sat, 21 Mar 2020 18:37:40 +0900
Odroid.GPIO (0.1.1) unstable; urgency=medium
- Correct package name
-- Hyeonki Hong hhk7734@gmail.com Sat, 21 Mar 2020 18:27:22 +0900
Odroid.GPIO (0.1.0) unstable; urgency=medium
- Bind wiringPi using Pybind11
-- Hyeonki Hong hhk7734@gmail.com Sat, 21 Mar 2020 17:37:21 +0900
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Odroid.GPIO-0.1.2.tar.gz
(9.2 kB
view hashes)