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

Fix case of boolean string in boolean example #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sourceperl
Copy link

I try "boolean_client.py" with arduino Yun "Spacebrew Boolean" example program. I have some issues since arduino spacebrew library wait for "true" or "false" string at lowercase. Python use "True" and "False" string for boolean. This commit fix it.

I try "boolean_client.py" with arduino Yun "Spacebrew Boolean" example program. I have some issues since arduino spacebrew library wait for "true" or "false" string at lowercase. Python use "True" and "False" string for boolean. This commit fix it.
@quinkennedy
Copy link
Member

Does anyone know why we are using String representation of true/false instead of JSON representation of true/false? I have a hunch it was a bug somewhere in an early lib that we didn't feel like investigating.... I would rather fix the problem than the symptom.

@julioterra
Copy link
Member

We've created a version of the python library specifically for the Arduino Yun, which is located here - https://github.com/julioterra/yunSpacebrew. Please use that version of the library instead.

Quin, I agree with your suggestion. I don't know why we didn't use the JSON representation earlier but we should do so now.

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.

None yet

3 participants