You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,23 +5,29 @@ This git repository provides the source codes for the **WebPBrick** project and
5
5
6
6
## WebPBrick How To
7
7
8
-
1. Build your NQC code (click the "Build" button)
9
-
2. Connect to the yellow programmable RCX brick using an infrared tower (click the "Serial Connect" button)
10
-
3. Download your compiled program to the RCX (click the "Download program to RCX" button)
8
+
1. Write NQC code _(or use BlockNQC to generate the code)_
9
+
2. Build your NQC code (click the "Build" button)
10
+
3. Connect to the yellow programmable RCX brick using an infrared tower (click the "Serial Connect" button)
11
+
4. Download your compiled program to the RCX (click the "Download program to RCX" button)
11
12
13
+
## WebPBrick's BlockNQC
14
+
15
+
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](./nqc/blocknqc/README.md) file.
12
16
13
17
## Toolchain modules
14
18
15
19

16
20
17
21
WebPBrick's toolchain consists of several modules:
18
22
23
+
* BlockNQC: Web-based visual programming editor called BlockNQC that can be used to generate NQC code (based on Google's Blockly).
19
24
* WebNQC: The NQC compiler built as WebAssembly (WASM) for the web using emscripten.
20
25
* 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.
21
26
* RCX communication libraries:
22
27
* Based on Web Serial API to be used with the LEGO IR Serial Tower and [DIY IR serial towers](https://github.com/maehw/DiyIrTower)
23
28
* Based on WebUSB API to be used with LEGO IR USB Tower
0 commit comments