mux2.comp
来自「CNC 的开放码,EMC2 V2.2.8版」· COMP 代码 · 共 13 行
COMP
13 行
component mux2 "Select from one of two input values";pin in bit sel;pin out float out "Follows the value of in0 if sel is FALSE, or in1 if sel is TRUE";pin in float in1;pin in float in0;function _;license "GPL";;;FUNCTION(_) { if(sel) out = in1; else out = in0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?