解析串口数据 [英] parsing serial port data

查看:239
本文介绍了解析串口数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发一个设备集成应用程序。我需要解析从串口数据接收的数据。我试图在一张图片中讲述整个问题。请查看以下图片告诉所有内容。



http ://tinypic.com/view.php?pic = 2cq07rr& s = 6 [ ^ ]



我想得到20(或20000000)。

Hi all,
I am developing a device integrated application. I need to parse the data received from serial port data. I tried to tell whole trouble in one image. please check following image telling everything.

http://tinypic.com/view.php?pic=2cq07rr&s=6[^]

I want to get just 20 (or 20000000).

推荐答案

看看:条形码扫描 [ ^ ]



小费的第一个修订版包含完整的代码。



祝你好运

Espen Harlinn
Have a look at: Barcode scanning[^]

The first revision of the tip contains the full code.

Best regards
Espen Harlinn


这篇关于解析串口数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆