i would like to modify a CMOS signal so that if it goes high several times in a half second, i only get that it was high for a half second. is there a capacitor configuration i could use that would stay high for all the little triggers, then discharge and start over when triggered again?