Skip to content

plenprojectcompany/plen-ScratchX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scratch X Plugin | PLEN Project Company Inc.

Scratch X plugin to operate PLEN series robots.

How to Use

  1. Connect with PLEN using USB (type micro B) cable.
  2. Launch the Control Server.
  3. 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.
  4. Please click I understand, continue button when it shows confirming dialog.
  5. There are blocks to operate PLEN series robots in Scripts >> More Blocks >> PLEN.

Getting Started with the Development

  1. Clone or fork this repository.
  2. Run npm install command.
  3. Update src/index.ts.
  4. Run npm run build command at git-root.
  5. 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.

Build Environment

  • node.js v8.10.0
  • npm v5.6.0
  • typescript v1.8.10

Copyright (c) 2016,

License

This software is released under the MIT License.