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.
toggle.cpp@0:0b2d00066327, 2012-03-22 (annotated)
- Committer:
- uchiyama
- Date:
- Thu Mar 22 05:29:17 2012 +0000
- Revision:
- 0:0b2d00066327
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| uchiyama | 0:0b2d00066327 | 1 | #include "mbed.h" |
| uchiyama | 0:0b2d00066327 | 2 | void toggle(DigitalOut x) |
| uchiyama | 0:0b2d00066327 | 3 | { |
| uchiyama | 0:0b2d00066327 | 4 | x = !x; |
| uchiyama | 0:0b2d00066327 | 5 | } |