6D302 4D SYSTEMS, 6D302 Datasheet - Page 49

OLED DISPLAY 160x128PIXELS 33.6mmx27mm

6D302

Manufacturer Part Number
6D302
Description
OLED DISPLAY 160x128PIXELS 33.6mmx27mm
Manufacturer
4D SYSTEMS
Datasheet

Specifications of 6D302

Screen Size
42.92mm
Resolution
160 X 128
Viewing Area (h X W)
33.6mm X 27mm
Interface Type
Serial, USB
Voltage Rating
5V
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
2.4.12 Set Counter
Syntax :
cmd : 08
value : A 1 byte counter value that can be used with Decrement Counter and
Jump to Address If Counter Not Zero commands to form loops. Practical
values should be between 2 and 255.
Description :
redisplayed over and over to achieve a lengthy viewing. This command when used in
conjunction with
commands allow the user to determine exactly how many times the series of images are
looped.
For example, we may want to animate the Globe rotating. Let’s say we have 10 image
slides of the Globe at different rotated positions residing in the memory card. When the
images are displayed sequentially, the effective duration will only be the length of time it
takes to display the 10 image frames. We can increase that length by looping through
the animation a number of times depending on the value set in the counter. When the
display reaches the end of the last frame and encounters the
followed by
decremented and then the internal pointer will jump to the memory Address specified in
the “Jump to Address If Counter Not Zero” command. This sequence will repeat until the
value in the counter reaches zero. The following demonstrates how this maybe used:
Note :
the memory card and then executed by using the
command. The commands would offcourse be the series of hex codes.
Address (dec)
00000000
00000002
00000012
00000015
00000025
00000119
00000129
00000132
00000134
The above example is typical of how a series of commands might be loaded into
hex
cmd, value
Jump to Address If Counter Not Zero
A series of images that might be part of an animation may need to be
Decrement Counter
(08
Command
Set Counter (value = 25),
Display Image from Memory Card (image1),
Delay(10ms),
Display Image from Memory Card (image2),
Delay(10ms),
…,
Display Image from Memory Card (image10),
Delay(10ms),
Decrement Counter
Jump to Address if Counter Not Zero (Address = 00000002 )
www.4dsystems.com.au
hex
)
(memory card command only)
and
Jump to Address If Counter Not Zero
Run Program from Memory Card
commands, the counter will be
Decrement Counter
49

Related parts for 6D302