From Test-Scratch-Wiki

(Redirected from Eng:() Sensor Value)

() Sensor Value
2.0 () Sensor Value.png
Category PicoBoards
Type Reporter

The () Sensor Value block is a Sensing block and a Reporter block. The block reports various values on a PicoBoard, a LEGO Education WeDo Robotics Kit and Mesh.

The values for PicoBoards:

  • Slider
  • Light
  • Sound
  • Resistance on its ports (A, B, C, and D)

The values for LEGO Education WeDo Robotics Kits:

  • Its tilt
  • Its distance

The values for Mesh:

Remote Sensor Connections

This block can only be used with a PicoBoard, a LEGO Education WeDo Robotics Kit or Mesh.

Scratch 2.0

In 2.0, this block is only for PicoBoards. The LEGO WeDo values are separated into new blocks: Tilt and Distance. Mesh and RSC are not supported.

Example Uses

As this block lets the project communicate with the outside world, it can be used to operate projects without using the keyboard and mouse; instead, the slider can be moved, noises made, etc.

Some common uses for the () Sensor Value block:

  • Controlling a project
  • Letting the Scratcher physically interact with the project
  • Offering a different type of way to operate a project
  • Getting the value of another program's variable in Mesh

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.