Wiki / Tools & Software
rcxvll.nqh (pbrick)
rcxvll.nqh is an NQC library by Michiel Tiller (2013) that makes an RCX control a Micro Scout over VLL by flashing a 9V light brick on an output port. It is distributed from pbrick.info as rcxvll.nqh_1.zip.
Significance
It is a tested-on-hardware source of the full VLL opcode table. Decoding its macros gave every command's 7-bit value; all 27 verify against VLL checksum.
Timing (NQC Wait = 10 ms units)
vll_init: ON 400 ms ·vll_start: OFF 20 msvll_0: ON 40 / OFF 20 ·vll_1: ON 20 / OFF 40vll_stop: ON 20 / OFF 60 / ON 120
Command set (MsXxx macros)
Direct: Fwd 0, Rev 1, StopMotors 10, Beep1–5 = 4–8, RunScript 33, DeleteScript 34. Script: Fwd/Rev 0.5/1/2/5 s = 16–23, Beep1–5 = 24–28, WaitLight 29, SeekLight 30, Code 31, KeepAlive 32.
Documents the real stop code as 10 (not the old "15") — though on the physical brick neither worked; see VLL opcode table.
See also
See pbrick.info for the surrounding RCX↔MicroScout article.