1

I have a small python program that writes a 4 digit number to the serial port every second, using pyserial. I have connected an XRF module (from CISECO) to the sending pi and another XRF to another pi. However when I try and loop port.read() on the receiving pi, I get weird output: '\xe0\' and '\x00\'. Where has my intelligible data gone? How can I read it sensibly?

1

Ok, this issue is because my baud rates on the two XRF modules were out of range. You may also get this same issue if the baud rates are mismatched.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.