Newhaven Display Forum

I have spent several hours, even days, trying to communicate properly and robustly with the NHD-0420DZW-AY5 from an Arduino Nano but in vain. Neither the standard Arduino way, nor third-party examples, nor trying from scratch myself and nor using this: http://www.newhavendisplay.com/app_notes/4_bit_character.txt seems to work, when converted as below (16 vs 20 char can hardly be the issue):

void loop(){}One thing that puzzles me using the above code from NHD is that it does now seem to follow the 4 bit procedure found in the data sheet p. 21. Furthermore, is it my observation that if the display has been improper communicated with the initialization procedure does not seem to work at all.

So I am looking for a bullet proof way of operating the display - please.

HiThis may help for anyone looking here in the future http://runawaybrainz.blogspot.com/2014/01/midas-2004-oled-character-display.html (http://runawaybrainz.blogspot.com/2014/01/midas-2004-oled-character-display.html)