Solved Error executing serial input string from arduino

Hi all,

I have a simple sketch sending messages wrapped in quotation marks from arduino to touch via serial. The messages appear to be the correct format, but when I attempt exec(op(‘serial1’)[1,0]), I get an error “TypeError: exec() arg 1 must be a string, bytes or code object.” I have attached a screenshot of the scenario. I have tried a few things but no luck yet. I’m sure its something simple that I am overlooking.

Thanks for the help.

update:
silly me. I was looking for run() rather than exec(). Run works great. Hope this helps someone.