Friday, October 25, 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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.