Git Product home page Git Product logo

scratchclient's People

Contributors

heppg avatar heppge avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

naohiro2g pgilmon

scratchclient's Issues

Problem with Wedo 2.0

In scratch forum, at_nivelungen reported:

Now I'm using ScratchClient (http://heppg.de/ikg/wordpress/?page_id=6), which is Gerhard Hepp's work, with Wedo 2.0 on RPi3, but not working in my environment.

  1. Followed 'Quick install procedure' in http://heppg.de/ikg/wordpress/?page_id=6, no problem on all of the steps.

  2. Read http://www.heppg.de/ikg/administration/pi/scratchClient/doc/html/scratchClient.html#legowedo2_Adapter and installed 'bluepy' by

    $ sudo pip install bluepy

That went well.
3. Started Scratch 1.4 on my Rpi3 and typed the following command in the terminal to pair the RPi3 with Wedo 2.0:

$ sudo python src/scratchClient.py -c config_wedo2_complete.xml

Then, displayed

2017-03-16 23:34:44,276 - __main__ - INFO - Connected to Scratch !
2017-03-16 23:34:44,278 - adapter.wedo2Adapter - WARNING - wedo2: Press 'connect'-Button on Hub

so pressed the button on Wedo 2.0 hub, then displayed

2017-03-16 23:34:49,298 - adapter.wedo2Adapter - WARNING - wedo2: found device a0:e6:f8:fe:ac:40, LPF2 Smart Hub 2 I/O

but occured the following error during turning the LED between blue, red and green on the hub:

2017-03-16 23:34:53,987 - adapter.wedo2Adapter - ERROR - notify_data, no service for port 6

The LED turned green at the end.
4. Without caring the error, tried to operator the motor on Wedo 2.0 by operating 'motor power 100' and 'motor on' on scratch software, but nothing happened.
Then, displayed the following errors:

2017-03-17 00:31:03,768 - adapter.wedo2Adapter - ERROR - motion, data not parsed 04 02 00 00 00 40 03 2d 7a b4 42
2017-03-17 00:31:14,216 - adapter.wedo2Adapter - ERROR - motion, data not parsed 04 02 00 00 80 40 03 2d 7a b4 42

The motor and the motion were connected to Port1 and Port2 on the hub, respectively.
I didn't modify 'config_wedo2_complete.xml'.
I downloaded scratchClient.tar.gz on March 6th, so it's the newest version.
The OS version of my RPi3 is as follows:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie

Delay and events

There is a huge delay when using the mpr121... between touch and events registering...

I am trying to make an interactive touch game but the delay between touch and register of events is delayed by a few second.. cant get it increment the score on touch... and
I was also trying to get this to work remotely with the windows client and could not load extension.

Any input would be great as I must be doing something wrong...

scratch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.