diff options
author | Daniel Jones <admin@danieljon.es> | 2020-07-24 16:18:13 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-07-24 16:18:13 +0930 |
commit | 58118770e0dd3de973d4b9e5e6e52c0bf520ff9c (patch) | |
tree | 211fcd0e2619e8e3a5d2d8166ca0e2d48b6008c4 /Gate.cpp | |
parent | 3a429d84c0e38b4a33834400aa0213082b634d55 (diff) | |
download | foxlogicgates-master.tar.gz foxlogicgates-master.zip |
Diffstat (limited to 'Gate.cpp')
-rw-r--r-- | Gate.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -73,6 +73,13 @@ void Gate::update_state() break; } + case PULSE: + { + if (output_state) + output_state = false; + break; + } + case OUTPUT: { if (input_gate1 && input_gate1->get_output_state() == true) |