def configureEEG(self):
		
		self.serial_device = \
			NeuroskyConnector.SerialDevice(
				self.log, \
				device_address=self.device_address, \
				#DEBUG=self.DEBUG, \
				DEBUG=0, \
				parent=self)
		
		self.serial_device.start()
		
		
		self.protocol = \
			NeuroskyConnector.puzzlebox_synapse_protocol_thinkgear( \
				self.log, \
				self.serial_device, \
				#device_model=self.device_model, \
				DEBUG=self.DEBUG, \
				parent=self)
		
		self.protocol.start()
  def configureEEG(self):

    if not self.emulate_headset_data:

      self.serial_device = NeuroskyConnector.SerialDevice(
          self.log,
          device_address=self.device_address,
          DEBUG=0,
          parent=self)

      self.serial_device.start()

    else:
      self.serial_device = None

    self.protocol = NeuroskyConnector.puzzlebox_synapse_protocol_thinkgear(
        self.log,
        self.serial_device,
        device_model='NeuroSky MindWave',
        DEBUG=0,
        parent=self)

    self.protocol.start()