I am Sohel. I am facing a problem while a try to run a program in pycharm. Here i try to control a LED by Arduino Uno through python. The error is "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 2: invalid start byte". I attached my program below for your reference.
I am using " pycharm community Edition 2023.2.1 and Arduino IDE 2.2.1". I am seeking someone help to solve this problem.
Thanks in advance.