🔩 拨码开关计算器DIP Switch Calculator
把拨码开关 ON/OFF 序列换成十进制(或反向)。本地处理。可设置「拨码(1=ON,0=OFF,高位在左)」、「十进制」、「位数」。Convert a DIP ON/OFF pattern to decimal (or the reverse). Processed locally. Settings: Pattern (1=ON,0=OFF, MSB left), Decimal, Bits.
使用说明与常见问题How-to & FAQ
「拨码开关计算器」是什么?What is the DIP Switch Calculator tool?
把拨码开关 ON/OFF 序列换成十进制(或反向)。本地处理。可设置「拨码(1=ON,0=OFF,高位在左)」、「十进制」、「位数」。Convert a DIP ON/OFF pattern to decimal (or the reverse). Processed locally. Settings: Pattern (1=ON,0=OFF, MSB left), Decimal, Bits.
如何使用「拨码开关计算器」?How do I use the DIP Switch Calculator tool?
在「拨码开关计算器」中,按需设置「拨码(1=ON,0=OFF,高位在左)」、「十进制」、「位数」等选项,然后点击「→ 十进制」、「→ 拨码」按钮即可。In the DIP Switch Calculator: Set "Pattern (1=ON,0=OFF, MSB left)", "Decimal", "Bits", then click "→ Decimal", "→ Pattern".
端序?Endian?
左侧为最高位(常见丝印 1…n 时请按手册核对)。Left is MSB — confirm against your switch silkscreen.
能输入小数吗?Can I enter a fractional decimal?
不能。拨码只表示整数,输入 10.5 之类的小数会提示错误,而不会悄悄截成 10。No. A DIP pattern only represents whole numbers, so a value like 10.5 is rejected with a message instead of being silently cut to 10.
有哪些选项可以调整?What options can I adjust?
「拨码开关计算器」的设置:「拨码(1=ON,0=OFF,高位在左)」默认 1010;「十进制」默认 10;「位数」默认 4。每次生成结果都按当前设置处理。Settings in the DIP Switch Calculator — "Pattern (1=ON,0=OFF, MSB left)" default 1010; "Decimal" default 10; "Bits" default 4. The result always uses the current settings.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「拨码开关计算器」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The DIP Switch Calculator runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「拨码开关计算器」免费吗?需要注册吗?Is the DIP Switch Calculator free? Do I need an account?
「拨码开关计算器」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The DIP Switch Calculator is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.