AnsweredAssumed Answered

Capacitive sense problem - STM32F0

Question asked by Ben Logan on Apr 12, 2018
Latest reply on Apr 12, 2018 by Ben Logan

Hi there, 

I am attempting to implement capacitve touch sensing using basic touch keys with an stm32f051. I have generated the project with STM32cubeMX, so setup is all there. But, struggling to write code to perform an acquisition and read sensors.

 

What is the simplest code for main.c to read the sensors and light an LED for each touch sensor BTN when pressed?

 

Outcomes