This is a driver library for the popular QDSP-6064 bubble display. These miniature displays can be leveraged for small breadboard projects in order to display debug information or even in larger projects where LCD displays are unpractical.
Fork of BubbleDisplay by
Diff: bubble.cpp
- Revision:
- 2:3604f34e944b
- Parent:
- 1:0dd75913f211
- Child:
- 3:1d85399fdea3
diff -r 0dd75913f211 -r 3604f34e944b bubble.cpp --- a/bubble.cpp Thu Mar 26 07:51:53 2015 +0000 +++ b/bubble.cpp Thu Mar 26 08:10:08 2015 +0000 @@ -1,5 +1,5 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * - * This drives the popular QDSP6064 bubble display. * + * This drives the popular QDSP-6064 bubble display. * * * * Created by: Michael Dushkoff (mad1841@rit.edu) * * * * * * * * * * * * * * * * * * * * * * * * * * * */ @@ -25,18 +25,18 @@ _anB = new DigitalOut(m10); _anA = new DigitalOut(m11); - // Initialize the Ticker - _freq = DEF_DISPL_FREQ; - _cycler.attach(this,&BubbleDisplay::cycle,1.0/(_freq)); - // Set the initial display number _seg = 0; // Set the initial character values - _chrs[0] = dispTabl[' ']; - _chrs[1] = dispTabl[' ']; - _chrs[2] = dispTabl[' ']; - _chrs[3] = dispTabl[' ']; + _chrs[0] = ' '; + _chrs[1] = ' '; + _chrs[2] = ' '; + _chrs[3] = ' '; + + // Initialize the Ticker + _freq = DEF_DISPL_FREQ; + _cycler.attach(this,&BubbleDisplay::cycle,1.0/(_freq)); } /*