Currently, EMG streaming begins when an instance of MyoEMG is created, and continues for entirely of the object's existence. In practice this will probably be unnecessarily demanding on the armband's battery life, and a mechanism to enable/disable streaming should be added to the MyoEMG class.
Proposed Solution
Add instance methods enableEmgStreaming() and disableEmgStreaming() to the MyoEMG class. EMG streaming can be enabled/disabled by subscribing/unsubscribing to notifications from the 4 EMG Data channels.
Currently, EMG streaming begins when an instance of
MyoEMG
is created, and continues for entirely of the object's existence. In practice this will probably be unnecessarily demanding on the armband's battery life, and a mechanism to enable/disable streaming should be added to theMyoEMG
class.Proposed Solution
Add instance methods
enableEmgStreaming()
anddisableEmgStreaming()
to theMyoEMG
class. EMG streaming can be enabled/disabled by subscribing/unsubscribing to notifications from the 4 EMG Data channels.