MrYsLab / pymata_rh

Python API Library for RoboHat MM1
GNU Affero General Public License v3.0
4 stars 1 forks source link

pymata_rh and the Scratch extension have been released. #16

Closed MrYsLab closed 4 years ago

MrYsLab commented 4 years ago

I have released pymata_rh to pypi. In addition, I have released the Scratch extension for th.e RoboHAT as well.

You can view the Scratch extension documentation here: https://mryslab.github.io/s3-extend/

If you wish to play with the extension, here is a summary of the steps to get things going:

  1. Using pip install s3-extend.
  2. Plug in a RoboHAT.
  3. Open a terminal window and type: s3rh Hit return. It will take a few seconds for everything to come up.
  4. Open Scratch using this link: https://mryslab.github.io/s3onegpio/
  5. Load the RoboHAT extension into Scratch.

All of this assumes you will be running everything - s3-extend and browser, on the RPi. You can run Scratch remotely if you wish. Instructions are here: https://mryslab.github.io/s3-extend/robohat_blocks/

wallarug commented 4 years ago

I've never used scratch at all before. I have tried to avoid it.

I'll have a play with it over the weekend. Thanks heaps!

MrYsLab commented 4 years ago

Scratch is great as an intro to programming but it can get old rather quickly. I facilitated an after school Scratch club for 3 years for students aged 10-13. Most students were asking for a "real" programming language within a few months. Block code editors such as MakeCode or EduBlocks I feel are great transition tools There are block languages such as Snap! that are much more sophisticated then Scratch, but try reading a semi-complex program written in them. They (including Scratch) quickly become write-only languages ;-) IMHO.

I will be starting on the Tkinter GUI, which I think will be a much better demo tool than the Scratch extension. Getting the visual parts of the app will take me a little while. I will be using an updated OneGPIO RoboHAT gateway in conjunction with it since it really simplifies and accelerates coding. It will also allow one to run the GUI locally on the RPi or remotely on another PC.

I will post when it is done.

MrYsLab commented 4 years ago

I am closing this issue. Work is underway for the tkinter GUI.