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

Issue moved from s2aio #15

Closed
MrYsLab opened this issue Dec 9, 2016 · 2 comments
Closed

Issue moved from s2aio #15

MrYsLab opened this issue Dec 9, 2016 · 2 comments

Comments

@MrYsLab
Copy link
Owner

MrYsLab commented Dec 9, 2016

This is the original issue from @sobreira reported in s2aio issue #8:

Hi MrYsLab.
I'd really like to thank you for great work, in fact we try to widespread the knownledge about your creation for lots of schools in Brazil.
We still use the Python 2.7 and I try to connect the HC-SR04.
I followed all steps above mentioned however Scratch or Snap can´t read any information from the sensor.

To make a test, I have installed the new Python and I did what you asked on your comment from25 Jul.
By this worked fine well, however, back to PyMata, Python 2.7 and s2a_fm, the Sonar not work.

For all the other other things, the system performs as expected.

I really appreciate your help on this.

Thanks!

Edson
hackeduca.com

@MrYsLab
Copy link
Owner Author

MrYsLab commented Dec 9, 2016

I just tested on Windows 10, Python 2.7.12, with the following script:

screenshot from 2016-12-09 10-24-01

The program ran correctly.

I first loaded the Scratch extension file s2a_fm.s2e and then ran the script.

Could you please do the same and tell me if things are working for you?

@sobreira
Copy link

sobreira commented Dec 9, 2016

Hi Alan, actually I found out my problem.
I was using an old version of PySerial and also my Python was outdated.
I updated everything and once more worked perfect

Thanks a lot for your support

Edson Sobreira
hackeduca.com

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

No branches or pull requests

2 participants