code: func (imu *IMUDriver) EnableShockDetection(detect bool) error {
  	var d byte
  	if detect {
  		d = 1
  	}
  	return imu.connection.WriteSysex([]byte{CURIE_IMU, CURIE_IMU_SHOCK_DETECT, d})
  }
docs: // EnableShockDetection turns on/off the Curie's built-in shock detection.
  // The result will be returned by the Sysex response message