Logic Tables!

I was instructed to make code that toggled a Boolean if an input was currently true and had been false during the last loop. I did not realize that this was my task until I had taken a vague understanding from my given assignment and made a table of the possibilities, which Mike called a logic table when I showed it to him. I also learned that two false fed to and does not produce trueAnd only produces true if both inputs are true. In my defense, my thinking was getting fuzzier as I was getting confused,  I was just trying various combinations to see if they worked, and I haven’t done logic loops like this before. I’m glad I know this now, it should prove to be useful.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.