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.
Fork of Stopwatch by
Stopwatch.h
00001 #include "stdio.h" 00002 #include "stdlib.h" 00003 #include "math.h" 00004 #include "mbed.h" 00005 00006 class Stopwatch { 00007 public: 00008 Stopwatch(); 00009 ~Stopwatch(); 00010 void start(); 00011 void stop(); 00012 void reset(); 00013 char* getTime(); 00014 char* getTimeFshort(); 00015 void countDown(int startTime); 00016 private: 00017 int ms; 00018 int ms1; 00019 int sec; 00020 int min; 00021 // int sec1; 00022 // int min1; 00023 char buffer1[9]; 00024 char buffer2[7]; 00025 Timer sw; 00026 };
Generated on Wed Jul 13 2022 15:17:06 by
1.7.2
