-
Notifications
You must be signed in to change notification settings - Fork 207
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
END_BYTE value for Cyton board Firmware: v2.0.0 #50
Comments
I did not look at the specs for firmware v2, this is probably a bug, indeed. We should auto-detect firmware (grabbing board info on start?) or at least have a swich... |
@jfrey-xx this is really easily solved with a switch statement! |
I'm sure it's trivial; but I wanted to have a closer look at the other changes that might be around (+ I lent my ganglion, a bit hard to test anything at the moment). |
@jfrey-xx well this is for Cyton! so maybe you can test! I added some code in #53 needs testing but @gianlucagiorgolo you can pull that pull request and see if it works for you! |
Damn, you're right, I jumped too quickly on a perfectly fine excuse :D |
Ok I pulled the new branch, but there are a bunch of issues with undefined names. Here's the output of pyflakes:
Regarding the one on line 98, I suppose it's just a typo in the parameter name in For line 301 I guess you could change
to
and the same goes for lines 434 and 448: For the undefined |
By the way, I forgot to mention that, after fixing the undefined names issues, everything seems to work fine! |
Awesome could you edit the code to fix the error? |
I created a pull request with the fixes, I guess we can close this issue now? |
Fixed undefined names issues close #50
Megred and issue closed, thanks! 👍 |
I'm not sure if this is a known issue, but trying to stream data from a Cyton 8-channels board I would consistently get the following warning for all data packets
and of course no sample object.
Changing the value for
END_BYTE
from0xC0
to0xC1
fixed the issue.The text was updated successfully, but these errors were encountered: