2011-03-13 05:48 AM
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
#lcd2011-03-13 06:45 AM
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.2011-03-13 10:07 AM
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
2011-04-10 02:51 AM
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,