OpenBCIboard:
Filter:
Classes (extension) | External Control

OpenBCIboard
ExtensionExtension

Abstract class for all OpenBCI boards
Location: NOT INSTALLED!

Description

superclass for all hardware boards

NOTE: this is an abstract class - do not instantiate. use the serial or wifi subclasses.

Class Methods

Inherited class methods

Instance Methods

.off

turn off (mute) one ore more channels

Arguments:

channel

can be an Integer or an Array of Integers.

.on

turn on (unmute) one ore more channels

Arguments:

channel

can be an Integer or an Array of Integers.

.startLogging

start writing data to a file on the sd card.

Arguments:

time

can be '5MIN', '15MIN', '30MIN', '1HR', '2HR', '4HR', '12HR', '24HR' or '14SEC'

.stopLogging

stop writing data and close the file.

.query

ask for current register settings.

.softReset

send a restart message to the board that will stop streaming and reset most of the settings.

.start

start streaming data.

.stop

stop streaming data.

.attachWifi

tries to attach a wifi shield.

.removeWifi

remove an attached wifi shield.

.getWifiStatus

get status of the wifi shield

.softResetWifi

perform a soft reset of the wifi shield

Inherited instance methods

Examples

see examples folder.

or examples section in CytonSerial, CytonWifi, GanglionSerial or GanglionWifi help files.