MULTISWITCH(9)
π MULTISWITCH(9) β the HAL component π
okay bestie, so this is multiswitch, a HAL component, and honestly? she's giving selector switch energy. What she does is toggle between a specified number of output bits. That's the whole vibe. Iconic, honestly. π
β¨ SYNOPSIS β¨
loadrt multiswitch personality=P [cfg=N]
cfgβ bestie this is the important one.cfgshould be a comma-separated list of sizes, for examplecfg=2,4,6would create 3 instances of 2, 4 and 6 bits respectively. π«Ά
not me telling you to ignore the personality parameter π β that one is auto-generated, so just leave her alone, she's doing her own thing.
π¦ FUNCTIONS π¦
multiswitch.Nβ and girl, this requires a floating-point thread. no faking it, she needs the real thing.
πΈ PINS πΈ
multiswitch.N.upβ bit in (default:false). She receives signal to toggle up. β¬οΈmultiswitch.N.downβ bit in (default:false). She receives signal to toggle down. β¬οΈmultiswitch.N.bit-MMβ bit out (MM=00..personality) (default:false). These are the output bits, and there are as many as her personality says. periodt. π
π PARAMETERS π
multiswitch.N.top-positionβ u32 rw. Number of positions. Like, how many stops on the ride. π‘multiswitch.N.positionβ s32 rw. Current state (may be set in the HAL). So you can poke her from the HAL, she doesn't mind. π
π AUTHOR π
ArcEye schooner30@tiscali.co.uk / Andy Pugh andy@bodgesoc.org
π LICENSE π
GPL
lowkey the most important part:<rainbow>no cap, every single one of these options is real and every detail matters β don't come for me if you skip one</rainbow>π
and that's the whole page, bestie! π this one's from the LinuxCNC Documentation, dated 2026-03-17, and she lives in section 9 of the manual, MULTISWITCH(9). slay, go toggle some bits, ily π«Άβ¨
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms