В момента ресурсът е наличен само на английски

How to use the Color Sensor event block in LEGO SPIKE Prime Word Blocks software Pro Preview

Here's one way to program using a color sensor!

Необходимо е да се абонирате за FLLCasts.com, за да достъпите това видео

Абонирай се

  • #2313
  • 30 Jul 2024

The block is located in the Events section. This means it serves as the starting point of the program, so no blocks can be placed before it.

content picture

By default, this block triggers the blocks that follow it when the sensor detects red. This means that the program will not start until the color sensor detects the specified color.


The first setting is the port, where you must select the port to which your sensor is connected. By default, this is port A.


The second setting allows you to change the color that activates the block. You can choose between 8 colors and a no-color option!

Курсове и занятия включващи този Урок

Този Урок е използван в следните курсове и занятия.

Image for Ниво Г - Въведение в състезателна роботика  - Роботика с LEGO SPIKE Prime
  • 21
  • 1:03
  • 60
Image for Занятие 1 - Сензор за цвят
  • 6
  • 4
  • 11
  • 3d_rotation 2