Menu

ccTalk 解析器

注释:ccTalk 是一种货币交易等行业广泛使用的串行协议

new CCTalk()

A transform stream that emits ccTalk packets as they are received.

Example

const SerialPort = require('serialport')
const CCTalk = require('@serialport/parser-cctalk')
const port = new SerialPort('/dev/ttyUSB0')

const parser = port.pipe(new CCtalk())
parser.on('data', console.log)
上一篇 下一篇
讨论数量: 0

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
刻意练习,每日精进。
~
点赞
212
浏览
0
讨论