Experimental software and hardware project by Arduino
Instructions:
If you want to install and launch Scratch on your local machine for development purposes you need to follow the instructions in scratch-arduino-extensions folder.
Scratch is a free programming platform where you can create your own interactive stories, games, and animations.
If you want to connect to an Arduino board via Bluetooth Low Energy (BLE) you need to install a couple of Arduino specific extensions.
Then you need to install Scratch link (https://scratch.mit.edu/download/scratch-link) which allows you to connect your Scratch project to a BLE device.
make init
to install everything needed for the project or
make scratch-gui-install
to install only the stuff related with the Scratch GUI.
make scratch-gui-patch
the patch-gui.js
script copies a custom Arduino extension in the extensions folder and modifies the code of
Scratch's extension manager to include that extension
the add-banner.js
script copies a new React component in the scratch-gui
folder and modifies the gui.jsx
file
to include that component
Finally, start the local server at http://127.0.0.1:8601
make scratch-gui-start
make scratch-gui-clean