I used the following parts for the LED control:
You find the Arduino .ino file in the download section. Inside the code you see, which pins were used for the red and the green LED and which one for the capacitive sensor. The LEDs are directly connected to the microcontroller without the need of a resistor.
The author marked this model as their own original creation.