Brick buttons Pro Preview

Did you know that the brick buttons can be used as five touch sensors in the programs?

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1160
  • 21 Mar 2019

They can be found in the yellow palette but all five sensors share a single block.

content picture

This block gives information about the pressed button in the form of a number, each number corresponding to:

content picture

  1. None of the buttons is presse
  2. The left button is pressed
  3. The middle button is pressed
  4. The right button is pressed
  5. The upper button is pressed
  6. The lower button is pressed

 

These sensors can be used for setting conditions for the orange palette blocks.

In the wait block:

content picture

In the repeat block:

content picture

In the switch block:

content picture

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Robotics with LEGO - Level 3.0 - Security systems
  • 50
  • 1:03
  • 213
Image for Lesson 6 - PIN code, Access codes
  • 7
  • 7
  • 20
  • 3d_rotation 1