buzzer test (note changed from piezo to buzzer for volume)

Dependencies:   mbed

Files at this revision

API Documentation at this revision

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