jin young sung / Mbed 2 deprecated Led Clock Download Featured

Dependencies:   mbed

main.cpp

Committer:
darzento
Date:
2015-04-03
Revision:
5:2ead41027963
Parent:
4:a1cb6536f303
Child:
6:276d384f8483

File content as of revision 5:2ead41027963:

#include "mbed.h"

/*****************************************************************************
*                                                                            *
*                                                                            *
*                                                                            *
******************************************************************************/

DigitalOut myled(LED1);
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()
{
    
    
}

int main() 
{
    hall.rise(&sensing);      //rising edge operating
    
    while(1)
    {    
    
    }
}