code: function commandBoardModeForMode (boardMode) {
    return new Promise(function (resolve, reject) {
      switch (boardMode) {
        case obciBoardModeDefault:
          resolve(obciBoardModeCmdDefault);
          break;
        case obciBoardModeDebug:
          resolve(obciBoardModeCmdDebug);
          break;
        case obciBoardModeAnalog:
          resolve(obciBoardModeCmdAnalog);
          break;
        case obciBoardModeDigital:
          resolve(obciBoardModeCmdDigital);
          break;
        default:
          reject(Error('Invalid sample rate'));
          break;
      }
    });
  }
docs: Get's the command for sample rate Cyton
  @param boardMode {String} - The desired sample rate
  @return {Promise}