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.
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)
{
}
}