News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

0LED 2x16 CHARACTER DISPLAY WITH WINSTAR WS0010 CONTROLLER

Started by GDeSantis, Sep 16, 2021, 06:13 PM

Previous topic - Next topic

GDeSantis

I recently purchased a 2x16 OLED character display that uses a Winstar WS0010 controller.  Although the WS0010 is similar to the Hitachi HD44780 controller developed in the 1980s, there are differences. 

Specifically, the initialization sequence is different and unfortunately, the datasheet explanation to operate the display in the 4-bit mode was not clear.

After multiple attempts, I found the following initialization commands did the job:

0x33,0x32,0x28,0x08,0x06,0x01,0x02,0x0C
HELLO_WORLD.pngOLED_2x16_Example.pdf
The program is attached and includes delays to avoid having to check the device's busy flag.

John Drew

GdeSantis,
This is a very useful post but it may be lost over time in the forum. Would you please put a copy in the WIKI in the LCD section?
John

GDeSantis


John Drew

Greetings GDeSantis,
Very nice coding with helpful remarks. Easy to follow.
Thanks for the WIKI entry.
John