|
Part 2: Controlling the Lights with
Software
by James Antonakos
Start ý Recap
ý Software Initialization ý Building
a Bit Pattern ý Outputting Data to the
Display ý Scrolling the Display Pattern
ý Handling Network Messages ý Other
Uses ý Sources and PDF
SCROLLING THE DISPLAY PATTERN
The display pattern is scrolled from
right to left by transferring data from the display bitmap to the
display, delaying for a short period of time (typically 0.10 s), and
then repeating with the transfer starting in the next column of the
bitmap. Figure 3 illustrates this process. Bits from the display bitmap
are copied into a temporary display buffer accessed by the DisplayBitmap()
function.
|
|
| Figure 3ýScrolling the display
message is done by copying data from the bitmap buffer to the
display and then moving the copy window one column to the right. |
PREVIOUS
NEXT
Circuit Cellar provides up-to-date information for engineers. Visit
www.circuitcellar.com for
more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com
or subscribe online.
ýCircuit Cellar, the Magazine for Computer Applications. Posted with
permission. |