Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - blowtorch

Pages: [1]
OLEDs / NHD-0420CW-AB3 contrast (brightness)
« on: August 12, 2015, 02:39:44 AM »

To test various algorithms for a forthcoming product, I have the abovementioned OLED display built into a test rig, standing on my bedside table every night.  To cater for night-time use in a dark room, and daytime use in the sun, we implemented a menu driven contrast adjust setting, over the full range allowed.

Problem is, is that even on lowest setting the screen is too bright and obtrusive at night in a dark room.  How can one gain more control over the level of drive to the OLED to reduce the OLED output? Can it be done in software or hardware?

OLEDs / NHD-0420CW-AB3 init / cgram
« on: July 28, 2015, 03:45:40 PM »
Hi, while trying to get cgram working I realise the display is always on ROMC. Whilst checking example init routine, I am also unsure of the 2 calls to the "data" function, as opposed to the "command" function.  My understanding of the data sheet would be to enter extended command mode, then send 0x71 for function selection A, then 0x00 to disable vregulator.  But all the example code would send the 0x71, then 0x40, then 0x00.

Ditto the initialisation code that does the ROM selection and cgram:  Example given:
    command(0x72); // function selection B
    data(0x00);  // by using the "data" function call, it actually sends 0x40 then 0x00

Seems like either I don't understand it or its a bug?   :)

On to the main problem:  I cannot get ROM A and cgram enabled.  Have tried sending 0x72 0x40 0x00  or 0x72 0x00 etc.

Any ideas?

Pages: [1]