FakeCyton class

A simulated Cyton (+ Daisy) on the far end of a serial port: answers commands as firmware 3.1.2 does and streams a 10 Hz sine per channel (amplitude 10 µV × channel number) after b. A channel with the lead-off current on (z) carries a 31.25 Hz signal for an electrode of impedanceOhms.

Constructors

FakeCyton(SerialTransport port, {bool daisy = true, double impedanceOhms = 10000})

Properties

daisy → bool
final
hashCode → int
The hash code for this object.
no setterinherited
impedanceOhms ↔ double
Impedance of every electrode, for the lead-off signal.
getter/setter pair
port → SerialTransport
final
received → List<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streaming → bool
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop() → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited