Computer Science Principles V11

Clive W. Humphris

LOGIC GATES 1: Simple OR Logic Function.  


The OR logic function can be clearly demonstrated using two push switches connect in parallel. Press S1 OR S2 and the lamp is lit.

If both switches are closed the lamp, as you would expect remains on. The only state, which extinguishes the lamp, is when both switches are open. Replace logic 0 for an open switch and logic 1 for a closed switch.

Table of contents

previous page start next page