Here is a simple system to control traffic lights, it includes two logic gates NOT AND 3 AND logic gate.
With the A and B inputs and outputs is a red light, amber, green.
With this system can send signals to the lamp code, to enable this light, we can separate the signal code.
As bright red light when we have the input signal A and B at 0, lights amber light when A and B by 1 to 0, the green lights illuminate when A equals 1 and B is 0
đang được dịch, vui lòng đợi..