Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

想问问,写入一直正常,但是读取数据却一直都是0是怎么回事呢 #3

Open
lodgkk opened this issue Jan 5, 2019 · 2 comments

Comments

@lodgkk
Copy link

lodgkk commented Jan 5, 2019

已经解决了

@Mokyyds
Copy link

Mokyyds commented Mar 15, 2019

请问怎么解决的?我读出来的数都不对,都是一个byte,实际有8个。但我直接将接受到的数据toString感觉是对的(乱码长度)。

@lodgkk
Copy link
Author

lodgkk commented Apr 21, 2019

你要和硬件那边协调,因为每次写入的时候都要加些东西在最前面,这样硬件才能识别你是否乱写的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants