Skip to content

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.

3 participants