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()
The PrimeHub object includes controllable interfaces ("constants") for your SPIKE Prime, such as left_button, right_button, motion_sensor, and light_matrix.
// Initialize the Hub
var hub = new serviceSPIKE.PrimeHub()