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.
Diff: main.cpp
- Revision:
- 2:d8a51492b646
- Parent:
- 1:21d40d90b2f0
- Child:
- 3:c7caa058fc50
--- a/main.cpp Wed Feb 18 19:08:46 2015 +0000 +++ b/main.cpp Wed Feb 18 19:26:09 2015 +0000 @@ -5,20 +5,22 @@ int main() { + TFC_Init(); + while(1) { - myled = 1; - wait(0.2); - myled = 0; - wait(0.2); + + // if (TFC_ReadPushButton(0) != 0 ) + // { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + // } + // else + // { + // myled = 1; + // } } - - - { - - - - } - } //hi guys \ No newline at end of file