Nothing Special   »   [go: up one dir, main page]

Skip to content

LeoNero/SevenSegmentDisplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Seven Segment Display

Requirements

  • Seven Segment Display
  • IC 4511

The Circuit

The circuit

How to use

Include the library in your project

#include "SevenSegment.h"

After that, set the IC's pins that are connected to the Arduino

SevenSegment displayLed(3, 4, 5, 6); 

Commands

You can display a number at a time:
displayLed.numberZero(); //Standard delay is 1000
displayLed.numberZero(300); //You can modify the delay!

Other numbers:

  • numberOne()
  • numberTwo()
  • numberThree()
  • numberFour()
  • numberFive()
  • numberSix()
  • numberSeven()
  • numberEight()
  • numberNine()

#####You can set a interval of numbers to display

displayLed.chooseNumbers(2, 5); //The display will show the numbers 2 to 5, with a standard delay of 1000
displayLed.chooseNumbers(2, 5, 400); //You can modify the delay!

displayLed.chooseNumbers(8, 4); //The display will show the numbers 4 to 8 in descending order

#####You can show all numbers at once! :D

displayLed.allNumbers(); 
displayLed.allNumbers(400); //You can modify the delay!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages