Trying to wake up an old Uno + TFT, but a penguin does not allow

got this from LCD_ID ,

reg(0x0000) 95 95       ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 00 00 Manufacturer ID
reg(0x0009) 3F 3F 3F 3F 3F      Status Register
reg(0x000A) 00 00       Get Power Mode
reg(0x000C) 01 01       Get Pixel Format
reg(0x0061) 00 00       RDID1 HX8347-G
reg(0x0062) 00 00       RDID2 HX8347-G
reg(0x0063) 00 00       RDID3 HX8347-G
reg(0x0064) 00 00       RDID1 HX8347-A
reg(0x0065) 00 00       RDID2 HX8347-A
reg(0x0066) 00 00       RDID3 HX8347-A
reg(0x0067) 00 00       RDID Himax HX8347-A
reg(0x0070) 00 00       Panel Himax HX8347-A
reg(0x00A1) 00 00 00 00 00      RD_DDB SSD1963
reg(0x00B0) 00 00       RGB Interface Signal Control
reg(0x00B4) 00 00       Inversion Control
reg(0x00B6) 00 00 00 00 00      Display Control
reg(0x00B7) 00 00       Entry Mode Set
reg(0x00BF) 00 00 00 00 00 00   ILI9481, HX8357-B
reg(0x00C0) 00 00 00 00 00 00 00 00 00  Panel Control
reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00      GAMMA
reg(0x00CC) 00 00       Panel Control
reg(0x00D0) 00 00 00    Power Control
reg(0x00D2) 00 00 00 00 00      NVM Read
reg(0x00D3) 00 00 00 00 ILI9341, ILI9488
reg(0x00D4) 00 00 00 00 Novatek ID
reg(0x00DA) 00 00       RDID1
reg(0x00DB) 00 00       RDID2
reg(0x00DC) 00 00       RDID3
reg(0x00E0) 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03     GAMMA-P
reg(0x00E1) 06 06 06 06 06 06 06 06 06 06 06 06 06 06 06 06     GAMMA-N
reg(0x00EF) 14 14 14 14 14 14   ILI9327
reg(0x00F2) 08 08 08 08 08 08 08 08 08 08 08 08 Adjust Control 2
reg(0x00F6) 00 00 00 00 Interface Control

and tried all DEFINE_SUPPORT possibilities , but the same error happens.

anyone please ?
thank you

gibran

C:\Users\admin\AppData\Local\Temp\ccGFjhkm.ltrans0.ltrans.o: In function `pushColors':

C:\Users\admin\Documents\Arduino\libraries\MCUFRIEND_kbv/MCUFRIEND_kbv.cpp:723: undefined reference to `penguin'

C:\Users\admin\Documents\Arduino\libraries\MCUFRIEND_kbv/MCUFRIEND_kbv.cpp:723: undefined reference to `penguin'

collect2.exe: error: ld returned 1 exit status

Using library SPI at version 1.0 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI

Using library Adafruit GFX Library at version 1.11.11 in folder: C:\Users\admin\Documents\Arduino\libraries\Adafruit_GFX_Library-1.11.11

Using library Adafruit BusIO at version 1.14.1 in folder: C:\Users\admin\Documents\Arduino\libraries\Adafruit_BusIO

Using library Wire at version 1.0 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire

Using library MCUFRIEND_kbv at version 3.0.0-Release in folder: C:\Users\admin\Documents\Arduino\libraries\MCUFRIEND_kbv

Strange...

There is indeed a reference to penguin in that file. But it's not on line 723. And it's just a comment.

                val |= 0xC0;    //force penguin 180 rotation

My copy of MCUFRIEND_KBV.cpp (2/26/2016) does not have any reference to penguin at all.

Back in the day I had lots of issues with that and other libraries for my ILI9341 touchscreen. Until I found LCD wiki

You might want to take a look at it.

Hi mancera1979.

Thank you a lot!
5 min install plus one line sketch config and the Uno is alive again.

Gibran

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.