QDSP-6064 bubble display example code
Dependencies: BubbleDisplay mbed
Diff: main.cpp
- Revision:
- 0:2055bf52abbf
--- /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); + } +}