Example #1
0
 def __init__(self, scaling_output = True):
     DefaultDelegate.__init__(self)
     # holds samples until OpenBCIBoard claims them
     self.samples = []
     # detect gaps between packets
     self.last_id = -1
     self.packets_dropped = 0
     # save uncompressed data to compute deltas
     self.lastChannelData = [0, 0, 0, 0]
     # 18bit data got here and then accelerometer with it
     self.lastAcceleromoter = [0, 0, 0]
     # when the board is manually set in the right mode (z to start, Z to stop), impedance will be measured. 4 channels + ref
     self.lastImpedance = [0, 0, 0, 0, 0]
     self.scaling_output = scaling_output
     # handling incoming ASCII messages
     self.receiving_ASCII = False
     self.time_last_ASCII = timeit.default_timer() 
Example #2
0
 def __init__(self):
     DefaultDelegate.__init__(self)
Example #3
0
 def __init__(self):
     DefaultDelegate.__init__(self)
     self.lastVal = 0
 def __init__(self):
     DefaultDelegate.__init__(self)
     self.lastVal = 0