SyntaxFix
Write A Post
Hire A Developer
Questions
It turns out that the string needed to be turned into a bytearray and to do this I editted the code to
ser.write("%01#RDD0010000107**\r".encode())
This solved the problem