Flip text on ST7565

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
scott216
 
Posts: 163
Joined: Sun Apr 12, 2009 11:08 am

Re: Flip text on ST7565

Post by scott216 »

Those commands work, this is all I have to do to flip the display:

Code: Select all

if(upsidedown == true)
  {
    glcd.st7565_command(CMD_SET_ADC_REVERSE);
    glcd.st7565_command(CMD_SET_COM_REVERSE);
  }
  else
  {
   glcd.st7565_command(CMD_SET_ADC_NORMAL);
   glcd.st7565_command(CMD_SET_COM_NORMAL);
  }

User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: Flip text on ST7565

Post by adafruit_support_bill »

Great! Even simpler than I thought. :D

ElChar
 
Posts: 4
Joined: Mon Jan 20, 2014 7:14 pm

Re: Flip text on ST7565

Post by ElChar »

After set:

Code: Select all

glcd.st7565_command(CMD_SET_ADC_REVERSE);
glcd.st7565_command(CMD_SET_COM_REVERSE);
to flip display.

The first 4 pixels (for all rows) are displayed on the right side of LCD; as read on edeca's post, when display is reversed we need another call to st7565_command to set initial column, but I can't figure right BANNED to set.

I try to play without luck with COLUMN_LOW and UPPER constants and several values.

Could you help me?
Thanks

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”