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 -

Pages: [1]
Character LCDs / Re: What hex character is this?
« on: October 24, 2014, 10:35:50 AM »

Thanks again for your help.

I was able to work around the problem by counting characters -- as the ASCII string was of fixed length -- but was never able to figure out what character generated the character detailed in the 1st post.  When the display was sent ASCII data in the 0x20 to 0x7F range everything worked great!

My suggestion is to add a debug function to the Table of Commands that displays the 8 bit value of the last data character sent in Hex -- [MS Nibble in Row 1, Column 1 ] & [LS Nibble in Row 1, Column 2] 

Best wishes,

-Scott Volk

Character LCDs / Re: What hex character is this?
« on: October 21, 2014, 10:02:54 AM »
That would help - wouldn't it? (Forgot to include the part#)

The display is a NHD‐0420D3Z‐NSW‐BBW‐V3

I am receiving a string of ASCII characters from an external source. All the alpha-numeric ASCII characters display fine -- except the last character -- which is some type of weird control character.
So to try to find out what character it is --I took the upper nibble of the weird character, and-ed it with 0xF0, shifted right without carry, added 0x41h and SPI'd the character to the display which came out as an "A" . I then took the lower nibble of the weird charater, and-ed it with 0x0F, added 0x41 and SPI'd the character to the display which came out as an "B". Fine. That means the weird character data should be 0x01, but when I send the NHD‐0420D3Z‐NSW‐BBW‐V3 a 0x01, it displays as" ll " -- the same as the attached picture except the bottom left corner pixel is white instead of black -- which doesn't match the weird character that is actually displayed!

I am trying to sort on the weird character as a message terminator -- so that when I see it come in - I do not display it.

Any idea how to add a picture to this post?

Character LCDs / What hex character is this?
« on: October 20, 2014, 07:29:09 PM »
I am working on a ASCII display using SPI port and everything is working fine except I cannot sort on the last character that gets received. It displays a weird character that is not in the data sheet on page 14

(see attached picture)

 When I wrote a nibble sorting command  and added 0X41h to each nibble of the data -- AB was displayed -- which meant the raw data should have been 0x01h. -- but sorting on 0X01h caused an error.

Any idea what the hex value of the displayed character is so i can sort on it and keep it from displaying?

[attachment deleted by admin]

Pages: [1]