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.
Diff: main.cpp
- Revision:
- 0:bbd9650bcfe0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Mon Jul 22 11:06:30 2019 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "Music.h"
+#include "SoundData.h"
+
+DigitalOut myled(LED1);
+
+int main() {
+ Music audio;
+ audio.init(sound_data,NUM_ELEMENTS);
+ while (1) {
+ wait_us(0.01);
+ audio.play_next();
+ }
+
+}