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

Program for Pallo - SPIKE Prime catapult with target robot - LSAv3.4.5.llsp3

This program is for the target part of Pallo. It uses a piston with differently colored sections, which are detected by a color sensor.

The piston starts with a green section, so the program waits for that color to change—indicating that the target has been hit. Then, it celebrates!

The celebration is simple: the program reads the color of the new section to determine how accurately the target was hit, and it lights up the center button with that color. It also displays "YAY" on the hub's screen.

Feel free to improve the program however you like!

How to open?

Download
  • #40fher
  • 07 Aug 2020

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

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

Image for Build, Code, Play: Your First Adventures with SPIKE Prime
  • 4
  • 0:33
  • 27
Image for Lesson 6 - Catapult
  • 1
  • 2
  • 3d_rotation 1