Jump to content

Labelling pots and lamps in your source

From Sandbox Pedal Wiki

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]