Accessing special segments on NHD‐0108HZ‐FSW‐GBW 1x8
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 -
0
-
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:
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);0
Please sign in to leave a comment.
Comments
1 comment