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.

Source Distribution

pi7447-1.0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pi7447-1.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pi7447-1.0.1.tar.gz.

File metadata

  • Download URL: pi7447-1.0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for pi7447-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d293c4ad859cfecbc741ddf452f717c086697bd8fece08b6356435cbff9c9e06
MD5 8bf6978b71b513c7a16673de9d396a8d
BLAKE2b-256 0f05bf5ea9e4fdae162d51f0c4324379215e0fa812a42d6801512b34e3909a1c

See more details on using hashes here.

File details

Details for the file pi7447-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pi7447-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for pi7447-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a848142025f9cb450b4625af982eab129e30492b8178a86326bf99bde4f4f03a
MD5 49b2981a2329bacf3440ac285776c052
BLAKE2b-256 0cb9f815a80e038d10af08e5bf22764396a46c0db517fb218c76bfa89c121135

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page