Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 851 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 851 Bytes

scratch-dexter

A Scratch extension to interact with Dexter.

Loading

  1. Install Node.JS: https://nodejs.org/en/download/
  2. Make a folder, change into it, run npm init and npm install ws, and download the proxy file.
    mkdir DexProxy
    cd DexProxy
    npm init
    npm install ws
    wget https://raw.githubusercontent.com/Kenny2github/scratch-dexter/master/httpd.js
  3. Run the proxy server: node httpd.js <Dexter IP> where <Dexter IP> is the IP of the robot.
  4. Navigate to https://scratchx.org?url=https://kenny2github.github.io/scratch-dexter/ext.js#scratch
    • On Chrome, click to enable Flash
  5. Accept the warning about experimental extensions.

Using

As an example:

script

This will make the robot wave back and forth.