Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADD: Aux data to fix wifi #116

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

daniellasry
Copy link
Contributor

v1.1.0

New Features

  • Now supporting digital and analog reading on cyton wifi

fixes #109
Example:

from openbci import wifi as bci
# for analog
shield = bci.OpenBCIWiFi(ip_address = '192.168.1.141', log=True, high_speed=True, aux_mode='analog')

# for digital
shield = bci.OpenBCIWiFi(ip_address = '192.168.1.141', log=True, high_speed=True, aux_mode='digital')

def printData(sample):
    print(sample.sample_number)
    print(sample.channel_data)
    print(sample.analog_data)
    print(sample.digital_data)

shield.start_streaming(printData)
shield.loop()

@codecov-io
Copy link

codecov-io commented Feb 17, 2019

Codecov Report

Merging #116 into master will increase coverage by 0.67%.
The diff coverage is 63.41%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
+ Coverage   37.46%   38.14%   +0.67%     
==========================================
  Files           9        9              
  Lines        1588     1628      +40     
==========================================
+ Hits          595      621      +26     
- Misses        993     1007      +14
Impacted Files Coverage Δ
openbci/utils/constants.py 100% <100%> (ø) ⬆️
openbci/wifi.py 20.68% <15.38%> (-0.16%) ⬇️
openbci/utils/parse.py 87.91% <84%> (-0.07%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2288eb...4a07488. Read the comment docs.

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.

Implement Analog data parsing in Python SDK
2 participants