Instructions

www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
Lesson 15: 4-digits LED segment display
In this project a 4-digit 7-segment display is operated. Current limiting
resistors are indispensable for LED displays. There are two wiring
methods for current limiting the d1-d4 anode. One advantage of this
method is that it needs less resistors and only 4 pieces. But this method
can not get a constant brightness. The second method is to connect a
resistor to each pin.
For the first method is required:
delay(1000); // waits 1 second
digital_5(); // shows number 5
delay(1000); // waits 1 second
digital_6(); // shows number 6
delay(1000); // waits 1 second
digital_7(); // shows number 7
delay(1000); // waits 1 second
digital_8(); // shows number 8
delay(1000); // waits 1 second
digital_9(); // shows number 9
delay(1000); // waits 1 second
}
}
1x
Mega2560 board
1x
USB cable
1x
4-digits
7-segment display
8x
220 Ω resistor
1x
Breadboard
20x
Jumper caple