Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

7-segment-driver-arduino

Libraries and sketches to make a 7 segment driver for arduino using a shift-register.

Use


void setup() {
	int clock = 7; // pin number to clock
	int data = 8; // pin number to data
	seg = sevenSegment(int clock, int data); 
}

void loop {
	// show numbers from -5 to 34
	for (int i = -5; i < 35; i++) {
		seg.showHex (i);
		delay(500);
	}
	
	// to show arbitrary sign send byte
	seg.sendByte(0x12);
	delay(2000);
}

About

Libraries and sketches to make a 7 segment driver for arduino using a shift-register.

Resources

License

Releases

No releases published

Packages

No packages published

Languages