Controller type for NHD-0216KZW-AY5

Comments

1 comment

  • tom-g

    Getting started with the character OLED display is confusing.  You need to send (LSB 1st) a 1 byte is transferred as 8-bits, the following bytes are spread across a 16-bit word.  You divide the nibbles as the high nibble of the 2-byte word.

    The data sheet you want is:
    https://support.newhavendisplay.com/hc/en-us/articles/4414485495703-US2066-Datasheet

    Example:
    want to write 'ABcdEFg' starting at character location #2 (address #2)

    Set the pointer to 1st character location and then write to display:

    Send Write Command (0x1F) followed by DDRAM address of '02' (0x82)
    Drive CS low
    Write
    0x1F  (8 bit)
    0x8020 (16 bit)
    Drive CS High

    Then Send Write Data (0x5F) followed by characters

    Drive CS low
    Write
    0x5F  (8 bit)
    0x4010 (16 bit) 'A'
    0x4020 (16 bit) 'B'
    0x6030 (16 bit) 'c'
    0x4040 (16 bit) 'd'
    0x4050 (16 bit) 'E'
    0x4060 (16 bit) 'F'
    0x6070 (16 bit) 'g'
    Drive CS High

     

     

    0

Please sign in to leave a comment.