openbci-archive/OpenBCI_NodeJS

Sample rate does not return correct sample rate for custom rate on simulator

Closed this issue · 1 comments

   OpenBCIBoard.prototype.sampleRate = function() {
        if(this.options.boardType === k.OBCIBoardDaisy) {
            return k.OBCISampleRate125;
        } else {
            return k.OBCISampleRate250;
        }
    };

If simulator is using custom sample rate this method should return it.

This is addressed in #60