![]() ![]() Any ideas on why this might be happening? This second screenshot shows the watermelon spawned by the spawner just after the button is pressed:Īt first I thought it was the gate delay but if that was the case when the button is turned off you would expect B' to switch to "1" a little later than B to switch "0", so it would still output "0". You can't see this using a screen because it happens very quickly so I used a prop spawner. The problem is it should only output the value "0", however, when turning off the button, for a very brief moment, the AND gate outputs "1". So basically what the AND gate should be outputting is " B AND B' ", where B is the value of the button and B' is the inverse of B. The button is connected to an AND gate and a NOT gate which in turn outputs it's value to the AND gate. So I have a toggle button, with values "1" for on and "0" for off. I've quickly put together something to demonstrate the issue: Then I figured out where the problem was but I still don't know what's causing it. ![]() I've been working on something with gates and stuff and realized something wasn't working right. Okay, here's something that's been driving me crazy. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |