MUX2(9)

πŸ“¦
version 2.9.4 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– MUX2(9) β€” HAL Component πŸ’–

okay bestie, welcome to the mux2 page, part of the HAL component family, and ngl this one is kind of the moment. πŸ¦‹ She's a tiny little picker-chooser: two inputs walk in, one output struts out, and a sel bit decides who's the main character. It's giving ✨demultiplexer but make it fashion✨.


πŸŽ€ NAME πŸŽ€

mux2 β€” pick one of two input values. that's it. that's the whole job. and she ate. πŸ’…


🌸 SYNOPSIS 🌸

loadrt mux2 [count=N|names=name1[,name2...]]

⭐ FUNCTIONS ⭐

  • mux2.N β€” bestie, this one requires a floating-point thread. no float thread, no function. periodt. 🫢

πŸ‘‘ PINS πŸ‘‘

  • mux2.N.sel bit in β€” the vibe check bit. she chooses. πŸ”₯
  • mux2.N.out float out β€” follows the value of in0 if sel is FALSE, or in1 if sel is TRUE. literally her whole personality.
  • mux2.N.in1 float in β€” input number one, the TRUE-side girlie. πŸ’œ
  • mux2.N.in0 float in β€” input number zero, the FALSE-side girlie. πŸ“
lowkey obsessed with how simple that is. two ins, one sel, one out β€” and out is just ✨mirroring✨ whichever input sel points at. no cap.

🌈 SEE ALSO 🌈

mux4(9), mux8(9), mux16(9), mux_generic(9).

(if two inputs isn't enough for you β€” and honestly, valid β€” go meet the bigger sisters. mux_generic(9) is the one who can do any number, iykyk. πŸ˜­πŸ‘‘)


🧚 AUTHOR 🧚

Jeff Epler β€” thank you for this icon, fr fr. πŸ™ˆπŸ’–


πŸ’œ LICENSE πŸ’œ

GPL


and that's the whole page, bestie!! this edition is from LinuxCNC Documentation, dated 2026-03-17, and the manpage itself answers to the name MUX2(9). slay, mux responsibly, and may your sel bit always be exactly where you left it. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from