Program the 7 Segment display on your RenBed using this program. Import the program into your Compiler and edit the code to display your birthday (DD > 5s wait > MM).
Dependencies: SevenSegmentDisplay mbed
Fork of Renbed_Seven_Segment by
Diff: main.cpp
- Revision:
- 1:2a6f19dca1f4
- Parent:
- 0:72cebff52cec
- Child:
- 2:6dd23fbe7e50
--- a/main.cpp Wed Apr 20 12:36:46 2016 +0000 +++ b/main.cpp Sat Sep 10 09:51:29 2016 +0000 @@ -11,7 +11,7 @@ SevenSegmentDisplay seg(0); //creating the driver object int main(){ - seg.DisplayDigits(3,4); //display the digits 3 and 4 + seg.DisplayDigits(3,0); //display the digits 3 and 4 wait(1); //wait 1 second - seg.DisplayDigits(6,2); //display the digits 6 and 2 + seg.DisplayDigits(1,0); //display the digits 6 and 2 } \ No newline at end of file