Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

More board compatible #39

Open
Sthopeless opened this issue Jun 21, 2019 · 1 comment
Open

More board compatible #39

Sthopeless opened this issue Jun 21, 2019 · 1 comment

Comments

@Sthopeless
Copy link

Hello everyone!

Is it possible to make the firmware compatible with another STM32 MCU's?

The STM32F103VCT6 is a little expencive but STM32F103C8T6 for example if only a couple of euros.

Also could someone explain how to read those values

LCD_WR_REG(0xC0);
LCD_WR_DATA(0x0c);
LCD_WR_DATA(0x02);
LCD_WR_REG(0xC1);
LCD_WR_DATA(0x44);
LCD_WR_REG(0xC5);
LCD_WR_DATA(0x00);
LCD_WR_DATA(0x16);
LCD_WR_DATA(0x80);
LCD_WR_REG(0x36);
LCD_WR_DATA(0x28);
LCD_WR_REG(0x3A); //Interface Mode Control
LCD_WR_DATA(0x55);
LCD_WR_REG(0XB0); //Interface Mode Control
LCD_WR_DATA(0x00);
LCD_WR_REG(0xB1); //Frame rate 70HZ
LCD_WR_DATA(0xB0);
LCD_WR_REG(0xB4);
LCD_WR_DATA(0x02);
LCD_WR_REG(0xB6); //RGB/MCU Interface Control
LCD_WR_DATA(0x02);
LCD_WR_DATA(0x02);
LCD_WR_REG(0xE9);
LCD_WR_DATA(0x00);
LCD_WR_REG(0XF7);
LCD_WR_DATA(0xA9);
LCD_WR_DATA(0x51);
LCD_WR_DATA(0x2C);
LCD_WR_DATA(0x82);
LCD_WR_REG(0x11);
Delay_ms(120);
LCD_WR_REG(0x29);
and know they're meaning?

Regards.

@ArturNadolski
Copy link

Take a look at driver manual: https://www.elecrow.com/download/ILI9488%20Data%20Sheet_100.pdf
For example first 3 lines setting Power Control 1(C0h) (chapter 5.3.12. ) by sending command (reg) with 2 parameters (data). Another example - last line - Display ON(29h) (chapter 5.2.21. ) - no parameters (no data).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants