ili9163 mirror image

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I use the ili9163 128*160 lcd eventually got the code to work (the original code was for 8bit parallel interface)and my display is serial.

The sample code i use does not have small,big fonts ...so i used another sample code for a different lcd and delete the long initial setup and replace it with the ili9163 initial setup.

The lcd does intialise and clear(BLACK) the only problem is the printing is a mirror image.

I would appresiate any sugestions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can draw text and graphics in any direction,  invert colours, ... with any of the TFT controllers that I have used.

 

Attach a ZIP of your project or paste your code.   And I will tell you which Manufacturer Register to alter.

The first step is to get Portrait orientation correct.   i.e. ribbon at bottom of panel.

 

David

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

mikedb wrote:
the only problem is the printing is a mirror image.
Are we allowed to know what the "problem" is?

 

If I light 10110101 then I get pixels in one direction. If I do it as 10101101 then is that not the "mirror image"? What am I missing?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

Simple solution:  Ship a mirror with each device. ;)

 

[over the years, that solution has been proposed when a circuit worked when 'scoped but not otherwise...ship a 'scope with each unit. ]

 

[[or add a small cap roughly equivalent to the probe capacitance]]

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks David

Your suggestion was spot on i modified the code for ili9341 to work on ili9163, the orientation data  setup is different between the 2 controllers ,the display is now normal.

(I cancelled my order for the little mirrorsurprise) One little step forward .....into the dark mystery of the unknown C PROGRAMMING.