ganglion: cleanup + sampling rate fix

Esse commit está contido em:
jfrey
2017-03-01 23:57:29 +01:00
commit 29b997609f
2 arquivos alterados com 1 adições e 11 exclusões
+1 -1
Ver Arquivo
@@ -30,7 +30,7 @@ import sys
sys.path.insert(0,"bluepy/bluepy")
from btle import Scanner, DefaultDelegate, Peripheral
SAMPLE_RATE = 100.0 # Hz
SAMPLE_RATE = 200.0 # Hz
scale_fac_uVolts_per_count = 1200 * 8388607.0 * 1.5 * 51.0;
# service for communication, as per docs
-10
Ver Arquivo
@@ -1,10 +0,0 @@
# testing ganglion board connectivity
import open_bci_ganglion as bci
def handle_sample(sample):
print(sample.channels)
board = bci.OpenBCIBoard()
board.start(handle_sample)