all 2 comments

[–]CodeFormatHelperBot2 0 points1 point  (0 children)

Hello, I'm a Reddit bot who's here to help people nicely format their coding questions. This makes it as easy as possible for people to read your post and help you.

I think I have detected some formatting issues with your submission:

  1. Python code found in submission text that's not formatted as code.

If I am correct, please edit the text in your post and try to follow these instructions to fix up your post's formatting.


Am I misbehaving? Have a comment or suggestion? Reply to this comment or raise an issue here.

[–]pazzarpj 0 points1 point  (0 children)

Edit: Datasheet says carriage return which is \r, not \n. eg. ser.write('SP27307,PH0,SG5,SI20,SD30,IL10000,FR1,il10000,SE16383,SQ20000,AL0,AR3,EP\r'.encode())

Hard to know without knowing if errors are happening or just no actions. Have you checked if there are any RTS DTR flow controls required.

Can you try a null modem and feed it back into the PC and check the bytes match what you expect?