We LOVE LEGO Dacta!
Programming

LEGO Bar

Here are some our favorite constructions and computer programs!

Elevator
Easy:
talkto [motora lampb soundc] onfor 40

*Tips:  
talkto and onfor are one word!  
By using brackets around your motor, lamp and sound in any combination, will activate those actions at the same time!  
Also remember motor has an "a" after it because it is connected to "a" on the Output side of the Serial Interface.  

Medium:
talkto "motora onfor 40 talkto "lampb onfor 10 talkto "motora rd onfor 40 talkto "lampb onfor 10

*Tip:  
rd means to redirect the motors path.

Difficult:
talkto "motora onfor 20 talkto "lampb onfor 10 talkto "motora onfor 20 talkto "lampb onfor 10 talkto [motora soundc] rd onfor 20 talkto "lampb 10 talkto "motora  onfor 20 talkto lampb onfor 10

 

 

Elevator picture.  Click for a video!

Dinosaur:  Walks 1 foot
Easy:
talkto "motora onfor 190

Difficult:
talkto "motora onfor 60 wait 10 talkto "motora rd onfor 40 wait 10 talkto "motora rd onfor 80 wait 10 talkto "motora rd onfor 50

*Tip:  
The command wait means the action will pause for the designated time.

 

Dinosaur Picture.  Click for a video!

A simple Car:  That Moves A Softball 1 Foot:
Easy: 
talkto "motora onfor 13 

*Try to create a vehicle that will control how far the softball is moved.  

Simple Car.  Click for a video!

What are some of your favorite constructions?  Email us!

Why LEGO Dacta?

Gears

Getting Connected

Activities

Bibliography

*Please note:  All constructions have been tested and times may vary.

We LOVE LEGO Dacta Home page