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.
Dependencies: mbed
Fork of DigitalInOut_HelloWorld_Mbed by
Diff: main.cpp
- Revision:
- 0:0d0417932681
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Feb 13 16:11:53 2013 +0000 @@ -0,0 +1,11 @@ +#include "mbed.h" + +DigitalInOut pin(p5); + +int main() { + pin.output(); + pin = 0; + wait_us(500); + pin.input(); + wait_us(500); +} \ No newline at end of file