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:7106df8adccc, committed 2018-09-28
- Comitter:
- iveitch
- Date:
- Fri Sep 28 09:50:03 2018 +0000
- Commit message:
- exercise 6
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Sep 28 09:50:03 2018 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut speaker(p26); + +int main() { + while(1) { + speaker = 1; + wait(0.001); + speaker = 0; + wait(0.001); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Sep 28 09:50:03 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187 \ No newline at end of file