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
main.cpp
- Committer:
- Smashftw
- Date:
- 2017-09-26
- Revision:
- 0:577d9598d207
File content as of revision 0:577d9598d207:
#include "mbed.h"
DigitalOut myled(LED1);
int blink2;
int main()
{
int n = 30;
while(n>0) {
blink2(0.133, 0.067);
n--;
}return 0;
}
void blink2(float Tp, float Ta){
myled=1;
wait(Tp);
myled=0;
wait(Ta);
}