如同 sync的字符1作为data接收时为11,字符0作为data接收为01,现在模拟接收端不知道同步字,因此将sync作为data接收,sync:0xDE(1101 1110)作为data接收就变成0xF7和0xFD(1111 0111 1111 1101)两个字节,请问有什么办法可以使得sync仍为一个字节么?
期望得到答复,谢谢各位!
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.
如同 sync的字符1作为data接收时为11,字符0作为data接收为01,现在模拟接收端不知道同步字,因此将sync作为data接收,sync:0xDE(1101 1110)作为data接收就变成0xF7和0xFD(1111 0111 1111 1101)两个字节,请问有什么办法可以使得sync仍为一个字节么?
期望得到答复,谢谢各位!