A Scratch extension to interact with Dexter.
- Install Node.JS: https://nodejs.org/en/download/
- Make a folder, change into it, run
npm init
andnpm 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
- Run the proxy server:
node httpd.js <Dexter IP>
where<Dexter IP>
is the IP of the robot. - Navigate to https://scratchx.org?url=https://kenny2github.github.io/scratch-dexter/ext.js#scratch
- On Chrome, click to enable Flash
- Accept the warning about experimental extensions.
As an example:
This will make the robot wave back and forth.