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.
Dependencies: mbed
Fork of DigitalIn_HelloWorld_Mbed by
main.cpp
- Committer:
- constantine8425
- Date:
- 2015-11-05
- Revision:
- 2:776077e8041d
- Parent:
- 0:aaf5a9d465fd
File content as of revision 2:776077e8041d:
#include "mbed.h"
#include "Man_Barre.h"
DigitalOut bled1(LED1);
DigitalOut bled2(LED2);
DigitalOut bled3(LED3);
DigitalIn button(p5);
int main() {
Init_GPIO ( );
while(1) {
if (button)
{
Barre ( );
wait(0.2);
}
}
}
