cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f07+touch

alireza_roozitalab
Associate III
Posted on April 09, 2015 at 17:40

hello every one

i want to connect touch panel to the adc of stm32f0 directly

so i use

 PA3->X+

PA4 ->Y+

PA5->X-

PA6->Y-

pa5,pa6 just use as gpio and pa3,pa4 use as gpio and adc both

i config the adc first and defult channel is channel_3

and during the code just changing channel and dont config adc or ... any more

if i read just chanel_3 the adc worked correctly and i have x value correctly but if i changing channel(to Channel) the values of channel_3 and channel_4 are wrongs

best regards

0 REPLIES 0