Author Topic: NHD-C160100DiZ-FSW-FBW won't display anything  (Read 1340 times)

ronnietango

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
NHD-C160100DiZ-FSW-FBW won't display anything
« on: February 22, 2018, 10:04:22 AM »
I have a NHD-C160100DiZ-FSW-FBW display with which I can communicate via i2c.  I have successfully initialised the device and can turn the display on and off (using COM_SEND + 0xAF or AE, respectively).  I can get to this stage with several different i2c master devices (BeagleBone Black, Arduino, and using i2cset from the command line).

However, I am unable to change anything on the display by writing to the page/line/column addresses.  I also cannot seem to read from these addresses in order to verify that anything has been written.  The example code in the datasheet does not work, and the (extremely poorly written) datasheet and user guide have not been at all helpful in describing the steps necessary to write to the screen.

Can anyone explain in clear steps (and/or verified example code) how to write to the pages/lines/columns in order to change the display?

Thanks!

Ted_M

  • Administrator
  • Jr. Member
  • *****
  • Posts: 59
  • Karma: 3
    • View Profile
Re: NHD-C160100DiZ-FSW-FBW won't display anything
« Reply #1 on: February 22, 2018, 10:47:03 AM »
Hi Ronnie,

Please take a look at our website for more detailed example code. It is listed in our Application Notes section under example code for Chip on Glass displays.
Here we provide more complete I2C code showing writes to the display.
https://newhavendisplay.com/appnotes/excode/txt/CoGLCD/C160100DiZ.txt

I hope this code is more helpful to reference. The code listed in the display datasheet is only to provide the example initialization sequence.

ronnietango

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: NHD-C160100DiZ-FSW-FBW won't display anything
« Reply #2 on: February 22, 2018, 11:18:03 AM »
Hi Ted,

Thanks for the quick response.  However I had already found this code, and it's more or less exactly the same as the code in the datasheet with the very small addition of the actual calls to the show() function in the main loop (and the #include of the picture.h file, which does not seem to be provided).

It also looks like the show() function is written to work with mode 1 (160 x 100), but the init sequence sets the display to mode 0..?

As far as I can tell from the datasheet (though please correct me if I'm wrong), once data is written to the pages, it should be displayed automatically (i.e. there isn't an "update display" command that needs to be called)?  Can you explain to me how to read from the display data registers in order to check if they're being written correctly?

Ted_M

  • Administrator
  • Jr. Member
  • *****
  • Posts: 59
  • Karma: 3
    • View Profile
Re: NHD-C160100DiZ-FSW-FBW won't display anything
« Reply #3 on: May 21, 2018, 11:35:50 AM »
Hi Ronnie,

Have you been able to resolve this issue?

Georgekhan

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: NHD-C160100DiZ-FSW-FBW won't display anything
« Reply #4 on: December 02, 2018, 03:25:06 AM »
have you got the solution or not ?

 

Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 8631
Last post May 13, 2014, 12:04:36 AM
by SteveC
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 6
Views: 10414
Last post November 07, 2014, 08:25:20 AM
by Michael_L
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 7353
Last post September 25, 2015, 03:09:24 PM
by Paul_B
Arduino LCD library not working with newhaven display NHD‐0420H1Z‐FL‐GWB-3V3

Started by c2hollowBoard Character LCDs

Replies: 9
Views: 16403
Last post July 10, 2014, 08:46:06 AM
by Michael_L
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

Replies: 5
Views: 9947
Last post June 18, 2014, 10:09:49 AM
by Michael_L