something

Dependencies:   mbed

Fork of HelloWorld by Vincent Cheung

Committer:
Judorunner
Date:
Mon Oct 24 01:11:37 2016 +0000
Revision:
2:e2ae43e8acab
Parent:
0:fb6bbc10ffa0
Child:
3:641eefd1110b
fbf

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon 0:fb6bbc10ffa0 1 #include "mbed.h"
Judorunner 2:e2ae43e8acab 2 #include "PaceHeart.h"
simon 0:fb6bbc10ffa0 3
simon 0:fb6bbc10ffa0 4 DigitalOut myled(LED1);
simon 0:fb6bbc10ffa0 5
Judorunner 2:e2ae43e8acab 6
Judorunner 2:e2ae43e8acab 7
simon 0:fb6bbc10ffa0 8 int main() {
simon 0:fb6bbc10ffa0 9 while(1) {
simon 0:fb6bbc10ffa0 10 myled = 1;
simon 0:fb6bbc10ffa0 11 wait(0.2);
simon 0:fb6bbc10ffa0 12 myled = 0;
simon 0:fb6bbc10ffa0 13 wait(0.2);
simon 0:fb6bbc10ffa0 14 }
simon 0:fb6bbc10ffa0 15 }