Capacitive touch sensor and Servo motor

Can you please help me at my project to make a program that when you touch the capacitive touch the servo motor turns from 0 to 180 then if I touched the capacitive touch again it will make the servo motor turn from 180 to 0 :confused:
I want to use the "HTTM HTDS-SCR Capacitive Anti-interference Touch Switch Button Module"
And I have the Servo motor SG90
Kindly Help me. Thank you! :slight_smile:

Have you tried moving a servo to 180 degrees and back? The Knob or Sweep sketches from the IDE will help there. Have you tried reading the touch sensor? Do you have a datasheet for it?

Please post any code and datasheets you currently have.

Steve