Scratch X plugin to operate PLEN series robots.
- Connect with PLEN using USB (type micro B) cable.
- Launch the Control Server.
- Access to http://scratchx.org/?url=https://plenprojectcompany.github.io/plen-ScratchX/plugin.js.
If it shows
USB connection has been disconnected!
, please check the connection status. - Please click
I understand, continue
button when it shows confirming dialog. - There are blocks to operate PLEN series robots in
Scripts >> More Blocks >> PLEN
.
- Clone or fork this repository.
- Run
npm install
command. - Update
src/index.ts
. - Run
npm run build
command atgit-root
. - Debugging process is shown as below:
- Change directory
git-root
of this repository. - Run any local HTTP server such as
python -m SimpleHTTPServer <PORT_NUMBER>
. - Open the url
http://scratchx.org/?url=http://localhost:<PORT_NUMBER>/docs/plugin.js
.
- Change directory
- node.js v8.10.0
- npm v5.6.0
- typescript v1.8.10
This software is released under the MIT License.