Skip to main content
Tran Minh Cong
Associate III
July 12, 2018
Question

TFT LCD touch screen mapping by external keypad

  • July 12, 2018
  • 26 replies
  • 5832 views
Posted on July 12, 2018 at 07:02

Dear every body,

I'm doing project about lcd tft 7inch 800x480 and stm32f746.

Currently, i want use external keypad (or external button), not use touch screen pannel.

Example: 

http://hshop.vn/products/ban-phim-ma-tran-mem-4x4

 

I have 1 button on LCD:

// { BUTTON_CreateIndirect, 'Browse', ID_BUTTON_0, 13, 8, 100, 20, 0, 0x0, 0 },

(x,y) =  (13,8).

width = 100.

height = 20.

=> (x,y) center = (13+100/2 = 63,8+20/2=18).

When 1 keypad or button pressed, i checked that ok.

How to mapping 1 key pressed to WM_NOTIFICATION_CLICKED event of 

ID_BUTTON_0 (ID_BUTTON_0 is displayed on LCD)? After that, emwin will do something: show dialog...

Can you tell me solutions, please?

Thank you so much!

#tft-lcd-touch-screen-mapping-by-external-keypad
This topic has been closed for replies.

26 replies

phuocnguyenhuu96
Associate III
July 26, 2018

Ông share tui project này được ko? Cảm ơn.

Tran Minh Cong
Associate III
July 27, 2018

Hi bạn,

Bạn tải STM32CubeF7, link này:

https://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/stm32cubef7.html#sw-tools-scroll

Sau đó giải nén sẽ có những ví dụ v�? STM32F746.

Project mình đang làm theo team, mình không share được.

Tran Minh Cong
Associate III
July 27, 2018

Hi bạn,

Ví dụ v�? emwin, nhưng dùng F429:

http://forum.armfly.com/forum.php?mod=viewthread&tid=17330

Tải v�? free, không cần đăng nhập.

Tran Minh Cong
Associate III
July 27, 2018

Thêm 1 link cho bạn tham khảo:

http://forum.armfly.com/forum.php?mod=viewthread&tid=19834&extra=page%3D1

Của tác giả"eric2013".

phuocnguyenhuu96
Associate III
July 27, 2018

Cảm ơn ông, mà sao toàn tiếng Trung thế ông @@

Tran Minh Cong
Associate III
July 27, 2018

Hi,

google dịch thôi là biết được một số rồi.