I'm trying to create a circuit that will pulse out (short pulse) whenever it passes a certain threshold going upwards and another one to detect going downwards. I was thinking of using delay to achieve this... but I dont know how to really go about it.
Any help would be appreciated, thanks in advance!

