QDSP-6064 bubble display example code
Dependencies: BubbleDisplay mbed
Revision 0:2055bf52abbf, committed 2016-03-29
- Comitter:
- MACRUM
- Date:
- Tue Mar 29 07:52:54 2016 +0000
- Commit message:
- Initial commit
Changed in this revision
diff -r 000000000000 -r 2055bf52abbf BubbleDisplay.lib --- /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
diff -r 000000000000 -r 2055bf52abbf main.cpp --- /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); + } +}
diff -r 000000000000 -r 2055bf52abbf mbed.bld --- /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