This program provides various seven segment and LED functions for the Raspberry Pi.

ss = SevenSegment([3, 5, 7, 8, 10, 11, 12]) (A list of 7 raspberry pi pins) instantiates the seven segment display.
ss.off() turns the seven segment display off, while
ss.on() turns it on again.
ss.digit(4) displays a 4 on the LED.
ss.number(1234567890, 0.3) #Displays the number 1234567890 with one digit each 0.3 sec.

myled = LED(3) instantiates an LED in pin #3
myled.state=True turns on the LED while
myled.state=False turns it off.

Features

  • This program provides various seven segment and LED functions for the Raspberry Pi.
  • ss = SevenSegment([3, 5, 7, 8, 10, 11, 12]) (A list of 7 raspberry pi pins) instantiates the seven segment display.
  • ss.off() turns the seven segment display off, while ss.on() turns it on again.
  • ss.digit(4) displays a 4 on the LED.
  • ss.number(1234567890, 0.3) displays the number 1234567890 with one digit every 0.3 sec.
  • myled = LED(3) instantiates an LED in pin #3
  • myled.state=True turns on the LED while myled.state=False turns it off.

Project Activity

See All Activity >

Categories

Raspberry Pi

Follow raspberry-pi-seven-segment-utilities

raspberry-pi-seven-segment-utilities Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of raspberry-pi-seven-segment-utilities!

Additional Project Details

Registered

2015-03-01