maehw / WebPBrick

Web-based IDE for programming the LEGO Mindstorms RCX using NQC with modern technologies
https://www.webpbrick.com
GNU General Public License v3.0
16 stars 4 forks source link
firmware-tools lego lego-mindstorms mindstorms mindstorms-rcx nqc programming robotics wasm web-ide webassembly webserial webusb-api

README

This git repository provides the source codes for the WebPBrick project and hence the webpbrick.com website.

WebPBrick How To

  1. Write NQC code (or use BlockNQC to generate the code)
  2. Build your NQC code (click the "Build" button)
  3. Connect to the yellow programmable RCX brick using an infrared tower (click the "Serial Connect" button)
  4. Download your compiled program to the RCX (click the "Download program to RCX" button)

WebPBrick IDE

WebPBrick's BlockNQC

A web-based visual programming editor called BlockNQC can be used to generate NQC code. BlockNQC is based on Google's Blockly. For details, see BlockNQC's separate README file.

BlockNQC

Toolchain modules

Toolchain block diagram

WebPBrick's toolchain consists of several modules:

Those modules could be used independently.

Run

Start a local webserver, e.g. using Python:

python3 -m http.server 8080

Open your web browser and navigate to http://localhost:8080/src/ide/

Licenses

This project is a collection of modules and open source software.

Module License
NQC / WebNQC Mozilla Public License 2.0
NQC example code by D. Baum and R. Zurcher Freeware License
Blockly (required for BlockNQC) Apache License 2.0
all others WebPBrick modules (e.g. BlockNQC and the IDE) GNU GPLv3

Released versions

Please find the CHANGELOG here. Please also note that WebPbrick.com may not be up-to-date with this repository on GitHub.

Disclaimer

LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project.