First version. Demo of PWM setup and speaker operation. Fine grain control of the PWM parameters is an advantage Mbed has over the Arduino environment.

Revision:
104:f2805e857b14
Parent:
102:6979ad8bc0bc
Child:
105:ed03c03b353e
--- a/main.cpp	Tue Nov 05 10:00:04 2019 +0000
+++ b/main.cpp	Tue Nov 19 14:11:50 2019 +0000
@@ -8,7 +8,7 @@
 
 
 // Blinking rate in milliseconds
-#define BLINKING_RATE_MS                                                    500
+#define BLINKING_RATE_MS 1000
 
 
 int main()