.

Thursday, September 19, 2019

Lego Dacta :: essays research papers

The â€Å"Input-Output† principle means basically that all input devices get the information in and the output devices show the result. Inputs Temp1 (Temperature Sensor) = It measures the temperature. Touch2 (T or F Sensor – something pressed) = It works when you touch it. Light5 (Changes in Light) = It lights up. Angle6 (Angle changes) = It measures the angle of the devices. Outputs MotorA (Motor runs) = It’s a moving device i.e. a motor. LampB (Light go on) = It’s a light up device i.e. a lamp. These are the different control terms used in Lego Dacta: †¢Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Talkto = It talks to output devices. For example - talkto â€Å"motora †¢Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  On/off = It switches on output devices. For example - talkto â€Å"motora, on, wait 100, off. †¢Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Alloff = It switches off all output devices. For example - talkto â€Å"motora, on, setpower 3, wait 30, setpower 5, wait 30, setpower 7, waituntil [touch2], off, wait 30, on, rd, setpower 3, wait 30, setpower 5, wait 30, setpower 7, wait 30, alloff. †¢Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Wait = It holds devices running for a certain amount of time. For example – talkto â€Å"motora, on, wait 100, off. †¢Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Waituntil = It makes devices wait until the procedure in the brackets becomes true. For example – talkto â€Å"motora, on, setpower 3, wait 30, setpower 5, wait 30, setpower 7, wait 30, waituntil [touch2], off, end. †¢Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  RD = It reverses motora. For example – talkto â€Å"motora, on, setpower 3, wait 30, setpower 5, wait 30, setpower 7, waituntil [touch2], off, wait 30, on, rd, setpower 3, wait 30, setpower 5, wait 30, setpower 7, wait 30, alloff. †¢Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Setpower = It changes the speed of motora. For example – talkto â€Å"motora, on, setpower 3, wait 30, setpower 5, wait 30, setpower 7, wait 30, off. †¢Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  To/end = It starts/finishes a procedure. For example – to forward1, talkto â€Å"motora, on, wait 100, off, end. Lego kits can be used in different businesses and organisations like offices, car parks, arcades and banks.

No comments:

Post a Comment