jin young sung / Mbed 2 deprecated Led Clock Download Featured

Dependencies:   mbed

Revision:
5:2ead41027963
Parent:
4:a1cb6536f303
Child:
6:276d384f8483
--- a/main.cpp	Fri Apr 03 07:11:41 2015 +0000
+++ b/main.cpp	Fri Apr 03 14:11:53 2015 +0000
@@ -1,22 +1,30 @@
 #include "mbed.h"
 
+/*****************************************************************************
+*                                                                            *
+*                                                                            *
+*                                                                            *
+******************************************************************************/
+
 DigitalOut myled(LED1);
-InterruptIn Hall();
+DigitalOut frame();          //Clock frame
+DigitalOut dot_Point();      //Time point
+BusOut hour();               //Hour hand
+BusOut minute();             //Minute hand
+InterruptIn hall();          //Hall sensor sensing interrupt
 
-void sensing();
+void sensing()
+{
+    
+    
+}
 
 int main() 
 {
-    Hall.rise(&Hall);
+    hall.rise(&sensing);      //rising edge operating
     
     while(1)
     {    
     
     }
-}
-
-void sensing()
-{
-    
-    
-}    
\ No newline at end of file
+}
\ No newline at end of file