This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

上位机与下位机通讯出错

Other Parts Discussed in Thread: CONTROLSUITE

最近在模仿TI太阳能逆变器例程写程序,通讯部分是按照TI例程写的,但是由于例程只能看到下位机程序,所以上位机是自己写的。

例程中下位机从上面收到一个数据,会将这个数据返回。于是上位机程序里根据这个返回数做一个判断。

但是这样做了以后,上位机收到的数据里还是会出现错误。

不知道大家在上位机与下位机通讯里是怎么做的?