[Tiny Tapeout Puzzles](https://tinytapeout.com/digital_design/puzzle_edgedetect/)
In the world of digital circuits, these changes will correspond to either a rising edge (i.e. signal going from low to high) or a falling edge (i.e. signal going from high to low). Detecting rising and falling edges is extremely important for digital circuits. For example, *did a user just press a button*? *Did they just release a button*?
check out the rising edge detect circuit below. **Can you figure out how to build the falling edge detect circuit to light the blue LED?**
HINT: you might need to add a gate
| D | Q | Output |
|---------|---------|--------|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
You can also check out the [**solution**](https://wokwi.com/projects/344328880453059156).
clock1:CLK
pwr2:GND
Loading
tt-block-input
tt-block-input
Loading
tt-block-output
tt-block-output
btn1:1.l
btn1:2.l
btn1:1.r
btn1:2.r
pwr3:VCC
led2:A
led2:C
pwr7:GND
flipflop2:D
flipflop2:CLK
flipflop2:Q
flipflop2:NOTQ
gate1:A
gate1:B
gate1:OUT
led1:A
led1:C
pwr1:GND
led3:A
led3:C
Button Press Indicator
Rising Edge Detect
Falling Edge Detect
Clock
Current signal value (D)
Past signal value (Q)
Past signal value (inverted) (!Q)
led4:A
led4:C