added a push button discharge switch to the schematic
incorporated capacitor charging discharging to the srcCode. still need
to debug