Service_SPIKE.PrimeHub

The PrimeHub object includes controllable interfaces ("constants") for your SPIKE Prime, such as left_button, right_button, motion_sensor, and light_matrix.

Example

// Initialize the Hub
var hub = new serviceSPIKE.PrimeHub()