Skip to main content
hajermarnissi
Associate II
Mar 13, 2011 12:48 PM UTC
Question

Menu lcd

Posted on March 13, 2011 at 13:48

Hello all

I'm about to display a menu on a touch screen in a map STM3210C board eval based on ?C stm32f107VCT.

Will you help me to send a library (menu.c. h) makes a little work.

Thank you very much.

Best regards

#lcd
This topic has been closed for replies.

3 replies

Thierry GUILHOT
ST Employee
Mar 13, 2011 1:45 PM UTC
Posted on March 13, 2011 at 14:45

Hello,

Example of the files you are looking for is available from the demo firmware package of the corresponding evaluation board (

http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm3210c-eval_fw.zip

).

Best Regards,

Thierry

PS: Please note that such request should be entered into the STM32 section. The STMTouch section is related to touch sensing solutions.

hajermarnissi
Associate II
Mar 13, 2011 5:07 PM UTC
Posted on March 13, 2011 at 18:07

Thank you

 

for your

 

reply

I have

 

this

 

file

,

 

my problem

 

now

 

is

 

how

 

to determine

 

cursor

 

knob to

 

XY

, I

 

work

 

with

 

3.2

TFT

 

LCD

 

240x320

 

pixel

 

resolution

, here is

 

a

 

piece of code

*

 

static

 

ts_stat

 

ts_stat

;

/

 

*

 

Update the

 

structure

 

With The

 

current

 

position

 

*

 

/

Ts_stat

 

IOE_TS_GetState

 

=

 

()

;

if (

(

ts_stat

-

>

 

TouchDetected

)

 

&

 

&

 

(

ts_stat

-

>

 

Y

 

<

220

)

 

&

 

&

 

(

ts_stat

-

>

 

Y

>

 

180)

)

{

if (

(

ts_stat

-

>

 

X

> 10

)

 

&

 

&

 

(

ts_stat

-

>

 

X

 

<

70)

)

{

/

 

*

 

External

 

Interrupt

 

Disable

 

*

 

/

IntExtOnOffConfig

 

(

DISABLE

)

;

LCD_SetDisplayWindow

 

(

210

,

 

290

,

 

65

, 262

)

;

LCD_WriteBMP

 

(

(

u32

)

 

telnet_image

)

;

/

 

/

 

*

 

GL_PageControls_TypeDef

 

TestBtn1

 

NewButton

 

=

 

(

''

TestBtn1

''

,

''

Diagnostic

 

Menu

''

 

FuncMenu

)

;

/

 

*

 

External

 

Interrupt

 

Enable

 

*

 

/

IntExtOnOffConfig

 

(

ENABLE

)

;

IOE_ITConfig

 

(

IOE_ITSRC_TSC

)

;

FuncMenu

 

()

;

Best regards

Thierry GUILHOT
ST Employee
Apr 10, 2011 9:51 AM UTC
Posted on April 10, 2011 at 11:51

Hello,

Please use the Cortex-Mx STM32 forum to request general support on STM32 devices and on associated tools/firmware. This forum is related to STMTouch touch sensing solutions.

Best Regards,

Thierry,