buzzer test (note changed from piezo to buzzer for volume)
Dependencies: mbed
Revision 0:8520c16e2880, committed 2017-05-23
- Comitter:
- Owenmatthewmcgowan
- Date:
- Tue May 23 14:16:00 2017 +0000
- Commit message:
- 789
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 Tue May 23 14:16:00 2017 +0000 @@ -0,0 +1,9 @@ +#include "mbed.h" +DigitalOut buzzer(PTC9); +DigitalOut gnd(PTC11); + +int main() { + gnd = 0; + buzzer = 1; + while(1) { } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue May 23 14:16:00 2017 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/mbed_official/code/mbed/builds/4eea097334d6 \ No newline at end of file