SMART CLEO Buzzer

Revision:
0:1111e1dc9eb2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Sep 28 02:08:54 2017 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+PinName pin_BUZZER = PD_2;
+
+DigitalOut Buzzer(pin_BUZZER);
+
+int main() {
+
+    while(1) {
+        Buzzer = 1; // Buzzer On
+        wait(0.5);
+        Buzzer = 0; // Buzzer Off
+        wait(0.5);
+    }
+}