Traffic lights
Today I've been working on the algorithm for the traffic lights controller. At first, potentially lethal situations occurred frequently as I let cars on both road cross at the same time but it works okay now.
Because there are no lights in the Lego Mindstorms set a small motor is doing the traffic light's job: a rotating motor is green, a slow rotating motor is yellow and when the motor is off it indicates the light is red.
Bought a Christmas tree today too.
»
- Log in to post comments