4 ms·
I will note that their suggestion of using an FPGA to do the flashing LED is far far far more complicated than it needs to be. Two AND gates, a decade counter
by simcop2387 14y ago
I will note that their suggestion of using an FPGA to do the flashing LED is far far far more complicated than it needs to be. Two AND gates, a decade counter and a timer are all you'd really need to make it flash after hitting the button. Adding a reset could be as simple as another button or another counter depending on how you want to go about it (or if you get creative, i bet it could be done with a JK flipflop).
Though adding the MCU (or an FPGA) does allow you do far more than just flashing it at some interval, you can also make it fade in and out far easier, and a number of other things like that.
- eliben 14y agoYou can flash LEDs in an even easier manner with a capacitor and a couple of transistors, or just a single 555 chip ;-)
- simcop2387 14y agoThey wanted the behavior of flashing a set time after the button is pushed, I'd use a 555 for the flashing myself though :)