- Jun 6, 2020
- 11,559
- 4,422
I am writing a program to interface with a serial to USB chip with reference CP2102N.
I am using the USBserial library (2.40) and it works well 95% of the time.....but not 100%
The code I use is quite simple <code>
B4X:
The problem is that sometimes I get extra bytes in the interface and taking into account that what I get are communications frames, I am in trouble.
1) How does this library manage an accurate work-flow with the CP2102N chip?
2) How can I get reliable data all the time?
Thanks!
I am using the USBserial library (2.40) and it works well 95% of the time.....but not 100%
The code I use is quite simple <code>
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
The problem is that sometimes I get extra bytes in the interface and taking into account that what I get are communications frames, I am in trouble.
1) How does this library manage an accurate work-flow with the CP2102N chip?
2) How can I get reliable data all the time?
Thanks!
برای دیدن لینک ها باید ثبت نام کنید