7447 lib for raspberry pi
Project description
Pi7447
7447 lib for raspberry pi
Install
pip install pi7447
Usage example
import pi7447
import time
import RPi.GPIO as gpio
gpio.setmode(gpio.BCM)
IC7447_INPUT_A = 2
IC7447_INPUT_B = 3
IC7447_INPUT_C = 4
IC7447_INPUT_D = 17
sevenSegmentSisplay = pi7447.IC7447(IC7447_INPUT_A,IC7447_INPUT_B,IC7447_INPUT_C,IC7447_INPUT_D)
#show 1 to 9
for i in range(10):
sevenSegmentSisplay.show(i)
time.sleep(0.5)
#turn off display
sevenSegmentSisplay.off()
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
pi7447-1.0.0.tar.gz
(1.6 kB
view hashes)
Built Distribution
pi7447-1.0.0-py3-none-any.whl
(2.9 kB
view hashes)