Skip to content

Comments

added EMG and RSSI to API#2

Open
superkruger wants to merge 1 commit intojsomsanith:masterfrom
superkruger:master
Open

added EMG and RSSI to API#2
superkruger wants to merge 1 commit intojsomsanith:masterfrom
superkruger:master

Conversation

@superkruger
Copy link

Nice API ;)
I needed EMG and RSSI data, so I've added it to yours...

Example usage:
Myo.on('registered', function (device) {
device.startStreamEmg();
device.requestRssi();
})
.on('emg', function (device, data) {
console.log('EMG @: ' + data.timestamp);
console.log('EMG data: ' + data.emg);
})
.on('rssi', function (device, data) {
console.log('RSSI: ' + data);
})
.start();

@jsomsanith-tlnd
Copy link

Hi superkruger,
Thank you for you pull request, I will update my Myo and see your changes when I have some time.

@superkruger
Copy link
Author

No prob, sorry about all the whitespace changes (webstorm auto format ;))

On Mon, Mar 30, 2015 at 2:26 AM, jsomsanith notifications@github.com
wrote:

Hi superkruger,
Thank you for you pull request, I will update my Myo and see your changes
when I have some time.


Reply to this email directly or view it on GitHub
#2 (comment).

Jaco Kruger
Email: superkruger@gmail.com
Cell: +61(0)481 084 750
Skype: super.kruger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants