Author Topic: NHD-1.69-128160ASC3 16-Bit Color Setting  (Read 109 times)

niradat

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
NHD-1.69-128160ASC3 16-Bit Color Setting
« on: January 10, 2020, 04:43:32 AM »
Hi,
Is it possible to set the individual pixels of NHD-1.69-128160ASC3 OLED to 16-bit color. All the examples related to NHD-1.69-128160ASC3 OLED are with respect to 24-bit color format. For example the following code sets the color of a selected pixel.

Code: [Select]
void OLED_Pixel_160128RGB(unsigned long color)    // write one pixel of a given color
{   
    OLED_SerialPixelData_160128RGB((color>>16));
    OLED_SerialPixelData_160128RGB((color>>8));
    OLED_SerialPixelData_160128RGB(color);           
}

How can I display an image in 16-bit color bitmap array?.

best regards,

niradat.


Alee_S

  • Administrator
  • Jr. Member
  • *****
  • Posts: 66
  • Karma: 4
    • View Profile
Re: NHD-1.69-128160ASC3 16-Bit Color Setting
« Reply #1 on: January 22, 2020, 03:36:43 PM »
Hello niradat,

Our code is configured for 8_bit mode with triple transfer setup, which almost simulates a 24-bit data transfer method. This can be configured and changed in the 'Set Memory Write Mode' command in our initialization routine.
If you wish to use 16-bit transfer instead, you may use either 16-bit single transfer or 8-bit dual transfer by changing the state of the bits in the 'Set Memory Write Mode' command and making appropriate changes to the 'OLED_Pixel_160128RGB' function in our sample code. More details can be found on pg. 25 of the SEPS525 controller spec.

Best,

 

Problem with WHITE COLOR CHAR on NHD-0440WH-ATMI-JT with 2 lines

Started by Mic71Board Character LCDs

Replies: 1
Views: 1443
Last post November 21, 2018, 01:33:08 PM
by Alee_S
most easily read 2x16 LCD color combination - daylight only

Started by j fergusonBoard Character LCDs

Replies: 5
Views: 8310
Last post February 11, 2015, 04:49:45 PM
by Paul_B
High framerate < 3" lvds fed color

Started by moleBoard New Product Wishlists

Replies: 0
Views: 9344
Last post April 01, 2016, 03:11:27 PM
by mole
FSTN(-) 128x64 pixels 66x33 mm with RED color?

Started by alex5Board Graphic LCDs

Replies: 1
Views: 4540
Last post May 23, 2016, 08:53:47 AM
by Saurabh_B
NHD-4.3-480272FT-CTXL-T not clearing all to one color properly

Started by maolvera93Board TFTs

Replies: 0
Views: 1165
Last post October 09, 2018, 06:15:31 PM
by maolvera93