Skip to main content

7447 lib for raspberry pi

Project description

Pi7447

7447 lib for raspberry pi

Installation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pi7447, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pi7447-1.0.1-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pi7447-1.0.1.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page