Jump to content

Labelling pots and lamps in your source

From Sandbox Pedal Wiki
Revision as of 01:04, 5 September 2026 by Matthew (talk | contribs) (Created page with "A slider marked '''POT0''' tells you nothing when you come back to a program six months later. The editor reads short tags out of your comments and uses them to label the simulator's controls as you type. == The tags == {| class="wikitable" ! Tag !! Labels |- | <code>; #POT0 Delay time</code> || POT0, POT1, POT2 |- | <code>; #LED1 Tempo</code> || The two indicator lamps |} Tags are read from the comment part of a line, so they n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A slider marked POT0 tells you nothing when you come back to a program six months later. The editor reads short tags out of your comments and uses them to label the simulator's controls as you type.

The tags[edit | edit source]

Tag Labels
; #POT0 Delay time POT0, POT1, POT2
; #LED1 Tempo The two indicator lamps

Tags are read from the comment part of a line, so they never collide with code. Hovering a renamed pot still shows which one it is underneath.

A related tag[edit | edit source]

; #slot 5 works the same way on the hardware side. With Filename / Toggle Position set to AUTO, the editor reads the tag and writes to that slot, so a program carries its own destination. With no tag it writes 3.hex, the slot a board with no toggles fitted reads. See Using the Sandbox FV-1 Editor.

See also[edit | edit source]