cancel
Showing results for 
Search instead for 
Did you mean: 

Menu lcd

hajermarnissi
Associate II
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
3 REPLIES 3
Thierry GUILHOT
ST Employee
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
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
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,