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 - Alee_S

Pages: [1] 2 3 4
1
OLEDs / Re: Newheaven NHD-0220CW-AR3 display
« on: September 23, 2019, 02:39:11 PM »
Hi there!

Please try implementing the 'Entry Mode Set' command and adjusting the 'BDS' bit to achieve a left entry mode display.

If at all you need reference code, please visit our Github link below for sample code written to the US2066 controller, which may be a useful resource while you are developing your software:
https://github.com/NewhavenDisplay/NHD_US2066/blob/master/NHD_US2066.cpp

Best regards,


2
Character LCDs / MOVED: Newheaven NHD-0220CW-AR3 display
« on: September 19, 2019, 04:26:49 PM »

3
OLEDs / Re: US2066 compatibility with HD44780
« on: September 12, 2019, 02:54:20 PM »
Hi TedM!

While the NHD-0220CW-AB3 can run off of a 5V supply and can be configured for 4-bit parallel mode, I am unable to confirm the timing durations, as these are not indicated in the command table.

The commands, initialization, and timings of the HD44780 controller do vary from the US2066 controller, and will likely require a reconfiguration of your software for the US2066 controller instead.

Linked below is sample code written for our US2066 controller using an Arduino for reference:
https://github.com/NewhavenDisplay/NHD_US2066

Best,

4
OLEDs / Re: Power Up Sequence for OLED
« on: August 06, 2019, 12:20:55 PM »
This topic is currently being resolved via e-mail.

5
OLEDs / Re: NHD-2.7-12864WDW3-M Graphic OLED Display
« on: July 31, 2019, 01:34:58 PM »
This topic is currently being supported via e-mail.

6
OLEDs / Re: Unused PINs on NHD-1.45-160128G
« on: July 22, 2019, 10:31:39 AM »
Hi Hrandhawa,

You may leave the respective unused pins floating if you'd like, or tie them to GND when using SPI mode. As long as the PS pin (pin 15) is tied LOW for serial interface, either of these options should suffice.

Best,

7
Hi Joe,

R1 and R2 are the unpopulated pads located just above the labeling, as shown in the attachment. However I do understand the confusion, as it's located next to 2 other hole slots.
You may then solder an 0603 0-ohm SMT resistor to create the short between the two pads.

Best,

8
Hi Tim!

Our Product Knowledge Center is a good resource for finding more information on the differences in terminology between premium, MVA, and sunlight readable:
https://www.newhavendisplay.com/pkc_lcd_tft.html#link7

This does seem to be a typo in our HDMI User Guide document. The correct viewing angles for the standard and sunlight readable TFTs are 12:00. Thank you for bringing this to our attention, and we will rectify this error asap.

Best!

9
Character LCDs / Re: NHD-0216K3Z-FL-GBW-V3 : Backlight
« on: July 16, 2019, 02:14:48 PM »
Hi Eashwar,

Plese note there is a difference between The VLCD and backlight voltage, as the VLCD is the voltage value needed for the LCD glass itself for optimal contrast, while the backlight power is driven by VDD, since the display power and backlight are generated from a single source for this display. VLCD is software configurable in this case.

A and K are pins responsible for the LED power, which can be powered from the VDD pin and is software configurable from the transistor and accompanying circuitry on the PCB.


10
Character LCDs / Re: NHD-0216K3Z-FL-GBW-V3 : Backlight
« on: July 08, 2019, 12:08:50 PM »
Hi Eashwar,

1) The VLCD is for the contrast voltage necessary for the LCD glass. This can be adjusted from your software as necessary.
2) The backlight and display power are tied together, and a 5V supply on the VDD pin will supply power to both the display and backlight. 
3) We don't spec our logic current values, as these parameters are voltage driven. So long as your voltage is above / below its rated levels, the display will register high and low as expected.
4) As mentioned before, the LCD power and backlight are tied together, and the display is spec'd to draw about 10-25 mA (18mA typical).

Display Datasheet: http://www.newhavendisplay.com/specs/NHD-0216K3Z-FL-GBW-V3.pdf

Hope this helps!

11
Hi Dharma,

The datasheet calls for a 10kΩ as a recommended pull-up resistor value for SDA and SCL lines, but any value ranging from 4.7kΩ up to 10kΩ should be sufficient as well.

Best,

12
Hi Dharma,

Baud rate is a term usually used for RS-232 or serial communication, and not for I2C communication. The rated frequency for this display has been attached, taken from the display datasheet.

After referencing and testing our sample code with a display at the lab, using (0x3C) as our slave address seems to do the trick in order to communicate with the LCD.
Code: [Select]

#include <Wire.h>

int RES = 22;

/********Arduino Mega********/
int ASDA = 20;
int ASCL = 21;
/********Arduino Mega********/




/********Arduino Uno********/
//int ASDA = 19;
//int ASCL = 18;
/********Arduino Uno********/

int test = 55;

unsigned char text1[]={"Newhaven Display"};
unsigned char text2[]={"    I2C TEST    "};
unsigned char text3[]={" March 21 2014  "};
unsigned char text4[]={" Michael LaVine "};

const char slave2w = 0x3C;  //3E for CiZ (0x7C shifted over 1 bit)  //3C for BiZ (0x78 shifted over 1 bit)
const char comsend = 0x00;
const char datasend = 0x40;
const char line2 = 0xC0;

void show(unsigned char *text)
{
  int n, d;
  d=0x00;
  Wire.beginTransmission(slave2w);
  Wire.write(datasend);
  for(n=0;n<16;n++)
  {
    Wire.write(*text);
    ++text;
  }
  Wire.endTransmission();
}

void nextline(void)
{
  Wire.beginTransmission(slave2w);
  Wire.write(comsend);
  Wire.write(line2);
  Wire.endTransmission();
}

void CGRAM(void)
{
  Wire.beginTransmission(slave2w);
  Wire.write(comsend);
  Wire.write(0x38);
  Wire.write(0x40);
  Wire.endTransmission();
  delay(10);
  Wire.beginTransmission(slave2w);
  Wire.write(datasend);
  Wire.write(0x00);
  Wire.write(0x1E);
  Wire.write(0x18);
  Wire.write(0x14);
  Wire.write(0x12);
  Wire.write(0x01);
  Wire.write(0x00);
  Wire.write(0x00);
  Wire.endTransmission();
}

void CiZ_init()
{
  Wire.beginTransmission(slave2w);
  Wire.write(comsend);
  Wire.write(0x38);
  delay(10);
  Wire.write(0x39);
  delay(10);
  Wire.write(0x14);
  Wire.write(0x70); //was 70
  Wire.write(0x5E);
  Wire.write(0x6D);
  Wire.write(0x0C);
  Wire.write(0x01);
  Wire.write(0x06);
  Wire.endTransmission();
 
  CGRAM();
 
  Wire.beginTransmission(slave2w);
  Wire.write(comsend);
  Wire.write(0x39);
  Wire.write(0x01);
  test = Wire.endTransmission();
  Wire.endTransmission();
  if(test!=0)
  {
    while(1)
    {
      delay(100);
    }
  }
  delay(10);
}

void setup()
{
  pinMode(RES, OUTPUT);
  pinMode(ASCL, OUTPUT);
  pinMode(ASDA, OUTPUT);
  digitalWrite(RES, HIGH);
  delay(10);
  digitalWrite(ASCL, LOW);
  digitalWrite(ASDA, LOW);
  delay(10);
 
  delay(10);
  //CiZ_init();
  //delay(5);
}

void loop()
{
 
  Wire.begin();
  //TWBR = 12;
  //TWSR |= _BV(TWPS0);
  while(1)
  {
  CiZ_init();
  show(text1);
  nextline();
  show(text2);
  delay(1000);
 
  CiZ_init();
  show(text3);
  nextline();
  show(text4);
  delay(1000);
  }
}

If this does not work, please try slowing down your transmission speed to see if this makes a difference.

Best,


13
Graphic LCDs / Re: Beagle Bone 128x64 Graphic LCD
« on: June 25, 2019, 08:49:56 AM »
Hi Golding52,

Unfortunately we do not have resources on our end for operating our 128x64 Graphic LCD in Python. It may be necessary to create your own library in order to do so.

Attached below is sample code written for our 128x64 AZ-series Graphic LCD using an Arduino.
I hope this can be helpful as a reference to help progress your software development.

Code: [Select]
/*****************************************************************************
 *
/ Program for writing to Newhaven Display's 128x64 Graphic Chip-On-Board with the NT7108C Controller.

/ Supported 128x64 Display Family: AZ, MZ, and WG Models

/ This code is written for the Arduino Uno R3 using Parallel Interface
/
/ Newhaven Display invests time and resources providing this open source code,
/ Please support Newhaven Display by purchasing products from Newhaven Display!

* Copyright (c) 2018, Newhaven Display International
*
* This code is provided as an example only and is not guaranteed by Newhaven Display.
* Newhaven Display accepts no responsibility for any issues resulting from its use.
* The developer of the final application incorporating any parts of this
* sample code is responsible for ensuring its safe and correct operation
* and for any consequences resulting from its use.
*
*****************************************************************************/


/*************************************
    Images
**************************************/

unsigned char nhd[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x38, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x18, 0x18, 0x98, 0xD8, 0xD8, 0xD8, 0xD8, 0xD8, 0xD8, 0xD8,
0xD8, 0xD8, 0x00, 0xF8, 0xF8, 0xE0, 0x80, 0xF8, 0xF8, 0x00, 0x00, 0x00, 0xC0, 0xF0, 0xF8, 0x98,
0xD8, 0xD8, 0x40, 0x00, 0x00, 0x18, 0x78, 0xE0, 0x80, 0xC0, 0x78, 0xF8, 0xC0, 0x80, 0xF0, 0xF8,
0x18, 0x00, 0x00, 0xF8, 0xF8, 0xC0, 0xC0, 0xC0, 0xF8, 0xF8, 0x00, 0x00, 0x00, 0x80, 0xE0, 0x78,
0x38, 0xE0, 0xC0, 0x00, 0x00, 0x00, 0x38, 0xF0, 0xC0, 0x00, 0xC0, 0xE0, 0x78, 0x18, 0x00, 0x80,
0xE0, 0xF0, 0xD8, 0xD8, 0xD8, 0xD8, 0x00, 0x00, 0x00, 0xF8, 0xF8, 0x70, 0xE0, 0x80, 0xF8, 0xF8,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xC0, 0xE0, 0xE0, 0xE0, 0xC0, 0x88, 0x1E, 0x3F, 0x3F, 0x3F, 0x3F, 0x1E, 0x0C,
0x0C, 0x0C, 0x0C, 0x0C, 0x8C, 0xCE, 0xC6, 0x73, 0x7B, 0x19, 0x0C, 0x06, 0x06, 0x06, 0x06, 0x06,
0x06, 0x06, 0x80, 0x87, 0x87, 0x80, 0x83, 0x87, 0x07, 0x00, 0x00, 0x00, 0x80, 0x83, 0x06, 0x06,
0x06, 0x06, 0x86, 0x80, 0x80, 0x80, 0x80, 0x83, 0x87, 0x07, 0x00, 0x00, 0x87, 0x87, 0x83, 0x80,
0x80, 0x80, 0x00, 0x07, 0x07, 0x00, 0x80, 0x80, 0x07, 0x07, 0x00, 0x00, 0x06, 0x07, 0x03, 0x01,
0x81, 0x83, 0x07, 0x06, 0x04, 0x00, 0x80, 0x80, 0x03, 0x07, 0x07, 0x81, 0x80, 0x00, 0x00, 0x00,
0x01, 0x03, 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0x00, 0x07, 0x07, 0x00, 0x00, 0x03, 0x07, 0x07,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x01, 0x07, 0x07, 0x0F, 0x0F, 0x0F, 0x07, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x3F, 0x3F, 0x31, 0x31, 0x31, 0x33, 0x3F, 0x0E, 0x00, 0x00, 0x3F, 0x3F, 0x00, 0x00,
0x00, 0x00, 0x37, 0x37, 0x35, 0x35, 0x3D, 0x3D, 0x19, 0x00, 0x00, 0x00, 0x3F, 0x3F, 0x0C, 0x08,
0x0D, 0x0F, 0x03, 0x00, 0x00, 0x00, 0x3F, 0x3F, 0x20, 0x20, 0x20, 0x00, 0x00, 0x30, 0x3C, 0x1F,
0x19, 0x1B, 0x1E, 0x38, 0x20, 0x00, 0x01, 0x01, 0x07, 0x3E, 0x3E, 0x03, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E,
0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x06, 0x0C, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
0x1E, 0x1E, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x1E, 0x16, 0x12, 0x00, 0x00, 0x00, 0x00,
0x00, 0x1E, 0x0A, 0x1E, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x0C, 0x18, 0x1E, 0x00, 0x00,
0x00, 0x00, 0x00, 0x18, 0x0E, 0x0E, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x1E, 0x1E, 0x02,
0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x12, 0x12, 0x1E,
0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x06, 0x0C, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x0E,
0x0E, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};


/**************************************************************
 * DEFINITIONS
 ***************************************************************/

#define     CS1   11        //Chip Selection IC1 (1 0) Left side
#define     CS2   12        //Chip Selection IC2 (0 1) Right side
#define     RST   13      //Active Low Reset
#define     RW    9      //Low Write Signal
#define     RS    8      //Reg Select 1- Data 0-instruction
#define     E     10      //Operation Enable Falling Edge

//#define     LED   11


/*******************************************
*       Basic Functions          *
*******************************************/

void  comleft(char c){    //command left
  PORTD = c;                           
  digitalWrite(CS1, HIGH);
  digitalWrite(RW , LOW );
  digitalWrite(RS , LOW );
  digitalWrite(E  , HIGH);
  delay(1);
  digitalWrite(E , LOW );
  digitalWrite(CS1, LOW);
}




void  comright(char c){   //command right
  PORTD = c;
  digitalWrite(CS2, HIGH);
  digitalWrite(RW , LOW );
  digitalWrite(RS , LOW );
  digitalWrite(E  , HIGH);
  delay(1);
  digitalWrite(E , LOW );
  digitalWrite(CS2, LOW); 
}



void  writeleft(char d){  //data left
  PORTD = d;
  digitalWrite(CS1, HIGH);
  digitalWrite(RW , LOW );
  digitalWrite(RS , HIGH);
  digitalWrite(E  , HIGH);
  delay(1);
  digitalWrite(E , LOW );
  digitalWrite(CS1, LOW);
}




void  writeright(char d){ //data right
  PORTD = d;
  digitalWrite(CS2, HIGH);
  digitalWrite(RW , LOW );
  digitalWrite(RS , HIGH);
  digitalWrite(E  , HIGH);
  delay(1);
  digitalWrite(E , LOW );
  digitalWrite(CS2, LOW);
}



/******************************************
*            Initialize                   *
******************************************/
void init1(){
  //digitalWrite(RST, HIGH);
  digitalWrite(RST, LOW);
  delay(1);
  digitalWrite(RST, HIGH);
  digitalWrite(E, LOW);
  digitalWrite(RS, LOW);
  digitalWrite(RW, LOW);
  digitalWrite(CS1, LOW);
  digitalWrite(CS2, LOW);
  comleft(0x3F);        //Display On
  comright(0x3F);       //Display On
}



/*****************************************
*          Display                       *
*****************************************/
//
void disp(const unsigned char *pic)      //show Newhaven Display Logo
{
    int page;
    page = 0xB8;
 
  for(int page = 0xB8; page < ((0xB8) + 8) ; page++){
    comleft(page);
    comright(page);
    comleft(0x40);
    comright(0x40);
   
    for(int i = 0; i < 64; i++){
      writeleft(*pic);
      pic++;
    }
    for(int i = 0; i < 64; i++){
      writeright(*pic);
      pic++;
    }
    //page++;
  } 
}



void checkerboardLeft() //show checkerboard pattern on left side
{
    int page;
    page = 0xB8;
    unsigned int j;
  for(int j = 0; j < 8; j++){
    comleft(page);
    comright(page);
    comleft(0x40);
    comright(0x40);
    for(int i = 0; i < 32; i++){        //Split from 64 -> 32, but 2 write functions makes up to equate 64 pixels.
        writeleft(0xAA);
        writeleft(0x55);
    }
    page++;
  }
}



void checkerboardRight() //show checkerboard pattern on right side
{
    int page;
    page = 0xB8;
    unsigned int j;
  for(int j = 0; j < 8; j++){
    comleft(page);
    comright(page);
    comleft(0x40);
    comright(0x40);
    for(int i = 0; i < 32; i++){        //Split from 64 -> 32, but 2 write functions makes up to equate 64 pixels.
        writeright(0xAA);
        writeright(0x55);
    }
    page++;
  }
}


void setup() {
  DDRD = 0xFF;            //Enabling Arduino Port for Data pins
//  digitalWrite(LED, HIGH);
  pinMode(CS1, OUTPUT);
  pinMode(CS2, OUTPUT);
  pinMode(RST, OUTPUT);
  pinMode(RW , OUTPUT);
  pinMode(RS , OUTPUT);
  pinMode(E  , OUTPUT);
  init1();
}


void loop() {
  disp(nhd);
  delay(2000);
  checkerboardLeft();
  delay(1000);
  checkerboardRight();
  delay(2000);
}


Best!


14
Topic currently being supported via e-mail.

15
Hi Dave,

We are able to design a 1280x800 pixel resolution display with capacitive touch as a custom solution!

If you are still interested and would like to further discuss this design, please e-mail us at nhtech@newhavendisplay.com and we can better assist you there.

Pages: [1] 2 3 4