The "Input-Output" principle means basically that all input devices get the information in and the output devices show the result. Inputs Temp 1 (Temperature Sensor) = It measures the temperature. Touch 2 (T or F Sensor - something pressed) = It works when you touch it. Light 5 (Changes in Light) = It lights up. Angle 6 (Angle changes) = It measures the angle of the devices. OutputsMotorA (Motor runs) = It's a moving device i.

e. a motor. Lamp (Light go on) = It's a light up device i. e. a lamp. These are the different control terms used in Lego Data: o Talk to = It talks to output devices.

For example - talk to "motor ao On / off = It switches on output devices. For example - talk to "motor a, on, wait 100, off. o All off = It switches off all output devices. For example - talk to "motor a, on, set power 3, wait 30, set power 5, wait 30, set power 7, wait until [touch 2], off, wait 30, on, rd, set power 3, wait 30, set power 5, wait 30, set power 7, wait 30, all off. o Wait = It holds devices running for a certain amount of time. For example - talk to "motor a, on, wait 100, off.

o Wait until = It makes devices wait until the procedure in the brackets becomes true. For example - talk to "motor a, on, set power 3, wait 30, set power 5, wait 30, set power 7, wait 30, wait until [touch 2], off, end. o RD = It reverses motor a. For example - talk to "motor a, on, set power 3, wait 30, set power 5, wait 30, set power 7, wait until [touch 2], off, wait 30, on, rd, set power 3, wait 30, set power 5, wait 30, set power 7, wait 30, all off. o Set power = It changes the speed of motor a. For example - talk to "motor a, on, set power 3, wait 30, set power 5, wait 30, set power 7, wait 30, off.

o To / end = It starts / finishes a procedure. For example - to forward 1, talk to "motor a, on, wait 100, off, end. Lego kits can be used in different businesses and organisations like offices, car parks, arcades and banks. For example in a Shopping Centre there are a lot of computer controlled machines like: o Electronic door so Barcode scanner so Lifts Microwave Timed light so Security camera so Anti-theft tags on clothe so Switch machine so Burglar alarm so Escalator so Vending machine so Car park ticketing machine so Overhead PA system Arcade games At home Lego kit can be used for example in a chair lift. Here is a set of instructions that could have been used for a chair lift: To chairliftTalkto "chairliftOnWaituntil [person presses button]Go downWaituntil [person gets in chair]Go up OffEnd.