LEGO NXT button control

Description

You can control your Lego Mindstorm robot using buttons on your stage.

Created for the course Seminar DDI @ TU Graz.

Created for the course Seminar DDI @ TU Graz.

Total number of scripts:

Total number of bricks:

Total number of objects:

Total number of looks:

Total number of sounds:

Total number of globals:

Total number of locals:

10

55

6

6

0

1

0

Event Bricks:

Total:10

Different:2

Start Script

When Script

Control Bricks:

Total:20

Different:5

Forever Brick

If Logic Begin Brick

If Logic Else Brick

If Logic End Brick

Loop Endless Brick

Motion Bricks:

Total:5

Different:1

Place At Brick

Sound Bricks:

Total:0

Different:0

NO BRICKS

Looks Bricks:

Total:5

Different:1

Show Brick

Pen Bricks:

Total:0

Different:0

NO BRICKS

Data Bricks:

Total:6

Different:1

Set Variable Brick

BACKGROUND

ToDo show the correct image

NO SCRIPTS

OBJECTS

ToDo show the correct image

When program started

Place at X: 0 Y: 500

Show

When tapped

Set variable dir to foward

Unknown Brick

Forever

If dir = foward is true then

Unknown Brick

Else

End If

End of loop

ToDo show the correct image

When program started

Set variable dir to stop

Place at X: 0 Y: - 300

Show

When tapped

Set variable dir to stop

Unknown Brick

ToDo show the correct image

When program started

Place at X: 0 Y: 150

Show

When tapped

Set variable dir to back

Unknown Brick

Forever

If dir = back is true then

Unknown Brick

Else

End If

End of loop

ToDo show the correct image

When program started

Place at X: 350 Y: 325

Show

When tapped

Set variable dir to right

Unknown Brick

Forever

If dir = right is true then

Unknown Brick

Else

End If

End of loop

ToDo show the correct image

When program started

Place at X: - 350 Y: 325

Show

When tapped

Set variable dir to left

Unknown Brick

Forever

If dir = left is true then

Unknown Brick

Else

End If

End of loop