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.
Revision 0:0b2d00066327, committed 2012-03-22
- Comitter:
- uchiyama
- Date:
- Thu Mar 22 05:29:17 2012 +0000
- Commit message:
Changed in this revision
| toggle.cpp | Show annotated file Show diff for this revision Revisions of this file |
| toggle.h | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/toggle.cpp Thu Mar 22 05:29:17 2012 +0000
@@ -0,0 +1,5 @@
+#include "mbed.h"
+void toggle(DigitalOut x)
+{
+ x = !x;
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toggle.h Thu Mar 22 05:29:17 2012 +0000 @@ -0,0 +1,7 @@ +#ifndef yueee_led_toggle_h +#define yueee_led_toggle_h + +#include "mbed.h" +void toggle(DigitalOut x); + +#endif \ No newline at end of file