Skip to main content
marcobenocci9
Visitor II
August 31, 2015
Question

STM3232746g_discovery demo gesture problem

  • August 31, 2015
  • 1 reply
  • 716 views
Posted on August 31, 2015 at 17:27

I'm trying to add to the ST Demo, the gesture recognition functionality provided by the touch screen. In the timer callback k_TouchUpdate, I added the following code, but the returned value is always zero.

How can I get it work?

uint8_t  gesture;

BSP_TS_GetState((TS_StateTypeDef *)&ts);

if(ts.touchDetected>1) { //>Multitouch        

        gesture = BSP_TS_Get_GestureId(&ts);

}

Thanks,

#stm32f7-disco-touch
This topic has been closed for replies.

1 reply

jmasriera
Associate II
November 9, 2016
Posted on November 09, 2016 at 13:04

Hi benoch.

I have the same problem. Did you get BSP_TS_Get_GestureId work?

Thanks.