QDSP-6064 bubble display example code

Dependencies:   BubbleDisplay mbed

Files at this revision

API Documentation at this revision

Comitter:
MACRUM
Date:
Tue Mar 29 07:52:54 2016 +0000
Commit message:
Initial commit

Changed in this revision

BubbleDisplay.lib Show annotated file Show diff for this revision Revisions of this file
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/BubbleDisplay.lib	Tue Mar 29 07:52:54 2016 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/users/MACRUM/code/BubbleDisplay/#1d85399fdea3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Mar 29 07:52:54 2016 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "bubble.h"
+
+#if defined(TARGET_SSCI824)
+BubbleDisplay bd(dp6, dp7, dp8, dp9, dp10, dp11, dp12, dp15, dp16, dp17, dp18, dp19);
+#endif
+
+int main() {
+    uint16_t count = 0;
+    bd.setFreq(200); // 5 ms
+
+    while(1) {
+        bd.write(count++);
+        wait(0.1);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Mar 29 07:52:54 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/c0f6e94411f5
\ No newline at end of file