function calculateCRC16Modbus(dataHexString) {
const dataBytes = [];
for (let i = 0; i < dataHexString.length; i += 2<
JavaScript实现计算CRC-16/MODBUS校验位
最新推荐文章于 2024-07-10 10:19:15 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
function calculateCRC16Modbus(dataHexString) {
const dataBytes = [];
for (let i = 0; i < dataHexString.length; i += 2<