Where did all this come from? Years of reading, writing and coding. You can see some of the debris below.
Talk to us on Facebook
I need help here. I have written a little piece about using breadboards to build simple electronic circuits but it does not seem like something that Alice would enjoy reading. Can you help make this introduction to breadboards interesting? Post ideas to Facebook
In the spirit of getting back to basics let's build a very simple logic circuit. No matter how complex, every computer program has simple yes/no logical statements. We call these boolean conditions. If you have ever flipped a light switch, than you have ran a computer program. At my house the switches are positioned so that down turns lights off and up turns lights on. If we think about these as little computer programs we can imagine that down means false and up means true. This is fun and useful since I can answer any yes/no question with a flick of a switch but we can do more. If I have two switches both connected to the same light in parallel I can form a boolean OR condition.
If we can create an OR condition with parallel wires we can create a boolean AND condition with wires in a series.
To help keep track of what is going on let's label the buttons.
The wiring on the finished board represents this code statement: