initialise method

void initialise()

Initialise the package, note this does NOT do an MRAA initialise if you need this call it separately. You MUST call this before usage.

Implementation

void initialise() {
  _setupAPI();
  // Initialise the sub platform if using Grove Pi
  if (useGrovePi) {
    common.addSubplatform(MraaPlatformType.grovepi, '0');
  }
}