Linux client for BlocklyProp
elahav
Posts: 7
Hello,
I purchased an ActivityBot for my son. We assembled and wired it, and I am able to use SimpleIDE to build, load and run the "hello world" example. So far so good. The next thing I am trying to do is use BlocklyProp, at least until my son is old enough to understand the intricacies of the C language (at the very least he should know how to programme a Duff's device...). Alas, no Windows or Mac computers in our house.
A Google search pointed me to a Python-based client here:
https://github.com/parallaxinc/BlocklyPropClient
A few questions:
1. Is this an officially-supported client? Doesn't seem to be.
2. Is the project still active?
3. I got the client to work with the server hosted on blocklyprop.creatingfuture.eu (needed a couple of tweaks), which is not the one that the official site points to. That one does not work with the client at all.
Before I continue my debugging efforts or, worse, write my own client, is there a better way to get BlocklyProp on Linux?
Thanks,
--Elad
I purchased an ActivityBot for my son. We assembled and wired it, and I am able to use SimpleIDE to build, load and run the "hello world" example. So far so good. The next thing I am trying to do is use BlocklyProp, at least until my son is old enough to understand the intricacies of the C language (at the very least he should know how to programme a Duff's device...). Alas, no Windows or Mac computers in our house.
A Google search pointed me to a Python-based client here:
https://github.com/parallaxinc/BlocklyPropClient
A few questions:
1. Is this an officially-supported client? Doesn't seem to be.
2. Is the project still active?
3. I got the client to work with the server hosted on blocklyprop.creatingfuture.eu (needed a couple of tweaks), which is not the one that the official site points to. That one does not work with the client at all.
Before I continue my debugging efforts or, worse, write my own client, is there a better way to get BlocklyProp on Linux?
Thanks,
--Elad
Comments
You will want to use the code from the Demo branch of the BlockyPropClient repository you note in your post. The instructions for running or building the client are on the README.md page in the repo. Click on the Connect button to start the client.
Point your web browser to http://demo.blockly.parallax.com (Test site) or to http://blockly.parallax.com (Beta site). Create an account; log in and build a project. On the project page, you should see a message in the upper-right that indicates that the BlocklyProp Client is connected. Select the correct serial or USB port and the click on the Run drop down. Select Load RAM to place your project code onto your device.
One minor glitch I encountered is that when running directly from source, the loader's path is set as "/propeller-tools/linux/propeller-load", which I had to change to "./propeller-tools/linux/propeller-load". However, building the distributable version, this change ended up with the loader trying to use "../propeller-tools/linux/propeller-load" and had to be reverted.