mm

Dependencies:   mbed

Fork of gtgtgtgt by prithvi kota

Files at this revision

API Documentation at this revision

Comitter:
pradeepvk2208
Date:
Sat Dec 20 10:10:04 2014 +0000
Parent:
2:a4514f4721a1
Commit message:
tm1

Changed in this revision

main.cpp Show diff for this revision Revisions of this file
diff -r a4514f4721a1 -r 0503ea7647f8 main.cpp
--- a/main.cpp	Sat Dec 20 10:09:08 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-#include "mbed.h"
-#include "string.h"
-
-
-int main()
-{
-    int hours = 0x12;
-    int scnds = 0x23;
-    
-    void (
-    
-    int h1=(hours/16)*10+hours%16;    
-    char h[4];
-    sprintf(h,"%d",h1);
-    int se1=(scnds/16)*10+scnds%16;
-    char se[4];
-    sprintf(se,"%d",se1);
-    strcat(h,se);
-    
-    
-
-    //char tmp[2] ; 
-    //tmp[0] = (char)hours;
-    //tmp[1] = '\0';
-    for(int i=0;i<20;i++){
-    puts(h);}
-    //printf("wth");}
-    return 0;
-}