How to use the force sensor event block in LEGO SPIKE Prime Word Blocks software Pro Preview

Here's one way to program using a force sensor:

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #2034
  • 01 Jul 2022

The block is located in the Events section, and as it marks the beginning of a new program section, no blocks can go before it.

content picture

By default, this block plays the ones after it when the sensor is pressed. This means that the program will not start until the force sensor is activated.


Its first setting is the port, where we must enter the port our sensor is connected to.


For the more advanced, the second setting can change the release condition of the blocks after it from pressed to hard-pressed, released, pressure changed.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Level A1 - Space Adventure - Robotics with LEGO SPIKE Prime
  • 64
  • 30:30
  • 76
Image for Lesson 6 - Launching into space
  • 7
  • 4
  • 9
  • 3d_rotation 1
Image for Level A2 - History and Mythology - Robotics with LEGO SPIKE Prime
  • 27
  • 0:00
  • 65
Image for Lesson 1 - Ancient Boats
  • 7
  • 5
  • 9
  • 3d_rotation 1