cancel
Showing results for 
Search instead for 
Did you mean: 

STM3232746g_discovery demo gesture problem

marcobenocci9
Associate
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
1 REPLY 1
jmasriera
Associate II
Posted on November 09, 2016 at 13:04

Hi benoch.

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

Thanks.