Author Topic: Accessing special segments on NHD‐0108HZ‐FSW‐GBW 1x8  (Read 2298 times)

Ih55t

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Accessing special segments on NHD‐0108HZ‐FSW‐GBW 1x8
« on: July 16, 2014, 11:39:50 AM »
I've been using the NHD‐0108HZ‐FSW‐GBW display with success using Arduino hardware and IDE. However, there are 4 segments (large arrows) at the bottom of this display that I can't seem to control.
The data sheet says the segments start at address 0X40. They also list them as 0X40-A1 through 0X40-A4. I don't understand what the A1 means. Additionally, I don't know how to access 0X40. Apparently, I'm lacking a fundamental understanding of the addressing scheme. Any thoughts or direction?

Thanks -
« Last Edit: July 16, 2014, 05:02:30 PM by Ih55t »

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: Accessing special segments on NHD‐0108HZ‐FSW‐GBW 1x8
« Reply #1 on: July 22, 2014, 09:48:46 AM »
I understand you were given this already, but I will post the code to control those segments below for any one else to use as reference:

Code: [Select]
command(0x40); 
               write(0x02);        //A4
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               command(0xc0);
               write(0x00);
               Delayms(500);

               command(0x40); 
               write(0x04);        //A3
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               command(0xc0);
               write(0x00);
               Delayms(500);

               command(0x40); 
               write(0x08);        //A2
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               command(0xc0);
               write(0x00);
               Delayms(500);

               command(0x40); 
               write(0x10);        //A1
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               write(0x00);
               command(0xc0);
               write(0x00);
               Delayms(500);

 

NHD-0108HZ-FSW-GBW example code

Started by NewUserBoard Character LCDs

Replies: 2
Views: 1948
Last post November 24, 2015, 04:29:06 PM
by NewUser
Calculation of Font Addresses Multi‐Font Displays Help!

Started by BluesboyBoard OLEDs

Replies: 6
Views: 3442
Last post September 11, 2015, 10:54:16 AM
by Saurabh_B
NHD‐0216PZ‐FL‐YBW

Started by oldhippyBoard Graphic LCDs

Replies: 1
Views: 2099
Last post January 23, 2015, 09:37:27 AM
by Michael_L
NHD‐0420DZW‐AB5 Lines

Started by RickJBoard OLEDs

Replies: 1
Views: 2185
Last post January 09, 2015, 04:18:32 PM
by Michael_L
NHD‐0420CW‐AB3 I2C Interface

Started by andersonpdBoard OLEDs

Replies: 1
Views: 2550
Last post January 23, 2015, 10:00:06 AM
by Michael_L