![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
the first
Revision 1:5f9cd5aa577f, committed 2018-09-16
- Comitter:
- icchong
- Date:
- Sun Sep 16 08:18:10 2018 +0000
- Parent:
- 0:37df34174027
- Commit message:
- the first
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Sep 16 08:08:07 2018 +0000 +++ b/main.cpp Sun Sep 16 08:18:10 2018 +0000 @@ -4,6 +4,8 @@ int main(int argc, char* argv[]) { - myLed.write(1); - return 0; + while (true) { + myLed = !myLed; + wait(0.5); + } } \ No newline at end of file