Use this ILI9341_t3 library to write to it. (Note: Adafruit_ILI9341 has the same problem.)
Run the graphicstest sketch.
Note that in "unrotated" mode, it's printing in Landscape mode. Since the library assumes the display is Portrait, it only uses the left most 240 columns, and the bottom most 80 rows wrap around to the top 80 rows.
Note further that the loop() code, which runs the display through different setRotation() values, has the same problem. That is, calling setRotation() does not fix this problem.
Hardware & Software
Board: Teensy 3.5
Shields / modules used: cheap ILI9341 off eBay: https://www.ebay.com/itm/324442623660
Arduino IDE version: 1.8.16
Teensyduino version: 1.55
Operating system & version: Ubuntu 20.04 LTS, up to date.
Any other software or hardware?
Arduino Sketch
// Change the code below by your sketch (please try to give the smallest code which demonstrates the problem)
/*
* Use the `graphicstest` sketch that comes with the ILI9341_t3 library.
*/
Errors or Incorrect Output
If you see any errors or incorrect output, please show it here. Please use copy & paste to give an exact copy of the message. Details matter, so please show (not merely describe) the actual message or error exactly as it appears.
Description
I've submitted a Pull Request to add support for both these: https://github.com/PaulStoffregen/ILI9341_t3/pull/67
Steps To Reproduce Problem
graphicstest
sketch.loop()
code, which runs the display through differentsetRotation()
values, has the same problem. That is, callingsetRotation()
does not fix this problem.Hardware & Software
Board: Teensy 3.5 Shields / modules used: cheap ILI9341 off eBay: https://www.ebay.com/itm/324442623660 Arduino IDE version: 1.8.16 Teensyduino version: 1.55 Operating system & version: Ubuntu 20.04 LTS, up to date. Any other software or hardware?
Arduino Sketch
Errors or Incorrect Output
If you see any errors or incorrect output, please show it here. Please use copy & paste to give an exact copy of the message. Details matter, so please show (not merely describe) the actual message or error exactly as it appears.
None.
Provided solution
https://github.com/PaulStoffregen/ILI9341_t3/pull/67