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.


Messages - MSanders

Pages: [1]
1
OLEDs / Re: NHD0420CW-Ax3 display with Arduino Uno - Tutorials
« on: May 27, 2016, 06:20:38 AM »
oh, I also changed the bitwise operator and removed the 'if' statement that set the number of rows. :
command(0x22 | 0x08) --> command(0x2A);

Again, I can't see how this should have changed anything!

2
OLEDs / Re: NHD0420CW-Ax3 display with Arduino Uno - Tutorials
« on: May 27, 2016, 06:10:22 AM »
After 3 days pouring over the US2066 datasheet I've made a few 'tweaks' to the code - and have made huge leaps in understanding what the code is doing.  I now don't seem to have any banding.  I'm not really confident my changes did a whole lot, they seem quite minor.

All changes occurred in the initialisation as follows:
command(0x7F) --> command(0xFF);  - increases contrast
command(0x40) --> command(0x30); - reduces Vcomh to 0.83, though I'm a little fuzzy as to what this does

I've also changed:
data(0x5C) --> data(0x00) - I want to run of 3.3v rather than 5v.  I hope this is correct?

3
OLEDs / Re: NHD0420CW-Ax3 display with Arduino Uno - Tutorials
« on: May 25, 2016, 09:02:35 PM »
Hi all,

I'm hoping someone might be able to assist.  I have just hooked up a new NHD0420CW-AG3 display to Arduino uno (compatible) and uploaded the I2C code directly from 'oldmaker' first post.  Works fine, except for screen banding.  The very first time the code was uploaded the screen had three vertical bands, which reduced to one after about 5 minutes. Now there is consistently two vertical bands, one at character 9 and the other at character 16.

I've also tried this with SPI code - same two vertical bands at the same position.

So, firstly, is this a software or hardware issue?

If software (somewhere in the initialization perhaps?), can someone assist in diagnosing the issue?

When replying please keep in mind that I am a relatively new hobbyist with only basic coding knowledge.  Complex responses will baffle my underqualified brain!

Pages: [1]