410
Platforms
©2000-2008 Tibbo Technology Inc.
Sub
set_lcd_contrast(level
As
Byte
)
'enable port, output data
io.portnum=PL_IO_PORT_NUM_4
io.portenabled=255
io.portstate=level
'generate strobe for the data register (on the LCD PCB)
io.num=PL_IO_NUM_48
io.enabled=YES
io.state=HIGH
io.state=LOW
'disable port
io.portenabled=0
End
Sub
You can design your own contrast control circuit, of course.
Solomon SSD1329 (Ritdisplay RGS13128096)
Controller: Solomon SSD1329.
Panel: Ritdisplay RGS13128096 and similar panels.
Type: OLED, green, 16 levels (4 bits/pixel), horizontal
.
Locking: Supported, but the display image is not visible when the display is
. This causes a noticeable "glitch" on the display when the lock/unlock is
performed.
Test hardware: TEV-LB1 test board. This board is a part of the EM1000-TEV
development system. See Programmable Hardware Manual for details.
I/O mapping for RGS13128096
This panel requires 5 I/O lines and an 8-bit data bus. Control lines are RES, D/C,
R/W, E, and CS. Each control line can be connected to any I/O pin of your device,
and each such I/O pin must be configured as an output (if your device requires
explicit I/O line buffer configuration). The data bus can be connected to any 8-bit
port. DO NOT configure this port for output.
The controller also has BS1 and BS2 interface type selection pin. For proper
operation, tie these pins to Vcc.
The value of the
property must be set correctly for the display to
work (see
Preparing the Display for Operation
). For this particular display, the
mapping string consists of 6 comma-separated decimal values:
1. Number of the I/O line connected to RES.
2. Number of the I/O line connected to D/C.
3. Number of the I/O line connected to R/W.
4. Number of the I/O line connected to E.
5. Number of the I/O line connected to CS.
6. Number of the I/O port connected to D7-0.
I/O line numbers are from the pl_io_num enum. Port number is from the
pl_io_port_num enum. Line and port numbers are platform-specific. See the list of
pl_io_num and pl_io_port_num constants in your platform specifications.
393
405
422
395