Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SevenSegmentDisplay mbed
Fork of Renbed_Seven_Segment by
main.cpp
00001 /********************************************************* 00002 *Renbed_Seven_Segment * 00003 *Author: Dan Argust * 00004 * * 00005 *A program that controls the seven segment displays * 00006 *********************************************************/ 00007 00008 #include "mbed.h" 00009 #include "SevenSegmentDisplay.h" 00010 00011 SevenSegmentDisplay seg(0); //creating the driver object 00012 00013 int main(){ 00014 seg.DisplayDigits(3,4); //display the digits 3 and 4 00015 wait(1); //wait 1 second 00016 seg.DisplayDigits(6,2); //display the digits 6 and 2 00017 }
Generated on Tue Jul 19 2022 06:41:03 by
1.7.2
