Hi, a part of my project is to detect rise and fall like in the picture but i have to use 555 timer instead of XoR gate. Please help me! I searched over the internet but i cannot find what i need or i did not understand.