So, I created a circuit that allows me to charge and discharge the capacitor with a switch, but it uses up almost all of the chains. Does anybody else have a better solution?
In the simulator, the capacitor swigs back and forth when you push the switch. I built it in real life and that does not happen.