This git repository provides the source codes for the WebPBrick project and hence the webpbrick.com website.
- Build your NQC code (click the "Build" button)
- Connect to the yellow programmable RCX brick using an infrared tower (click the "Serial Connect" button)
- Download your compiled program to the RCX (click the "Download program to RCX" button)
WebPBrick's toolchain consists of several modules:
- WebNQC: The NQC compiler built as WebAssembly (WASM) for the web using emscripten.
- RCX image parser written in Kaitai Struct and compiled to JavaScript to parse and split RCX image binary files so that they can be downloaded to the RCX in their bytecode chunks.
- RCX communication libraries:
- Based on Web Serial API to be used with the LEGO IR Serial Tower and DIY IR serial towers
- Based on WebUSB API to be used with LEGO IR USB Tower
Start a local webserver, e.g. using Python:
python -m http.server 8080
Open your webbrowser and navigate to http://localhost:8080/ide/
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 |
all others WebPBrick modules | GNU GPLv3 |
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project.