Libraries.Robots.Spike

21 classes

  • The AppSound library is used to play sounds in the SPIKE App.
  • The Bargraph library is used to graph and display bargraphs in the SPIKE App.
  • The button library allows for detection of button presses from the left and right arrow keys located on the top face of the hub.
  • The color class holds preset color values for use with the Spike, such as with the Light and ColorSensor libraries.
  • The color matrix is an external device that is connected to the hub through a port.
  • The color sensor is an external device that is connected to the hub through a port.
  • The device library allows you to gather information about the devices connected to each of the hubs ports, as well as set the duty cycle of a device at a specific port.
  • The Display library is used to display images in the SPIKE App.
  • The distance sensor is an external device that is connected to the hub through a port.
  • The force sensor is an external device that is connected to the hub through a port.
  • The hub library provides basic functionalities to get information about the hub as well as pause the hub's actions for a specified time in milliseconds.
  • The light class is used to change the color of the light of the Bluetooth connection button and the central hub button (the power button).
  • The light matrix controls a 5 x5 set of pixels on the Spike robot.
  • The Linegraph library is used to graph and display linegraphs in the SPIKE App.
  • The motion sensor is a function of the SPIKE Hub which allows for the detection of movements, orientaion, and environmental interactions.
  • The motor is an external device that is connected to the hub through a port.
  • A motor pair represents a grouping of two motors, which are external devices that connect to the hub on separate ports.
  • The music library is used to play music through the SPIKE App.
  • A Port represents one of the six ports on the hub, labeled A-F.
  • The sound library is capable of playing sounds from the speaker embedded in the Spike hub.