Feb-09-2017, 04:17 AM
So I am new to Python but not new to coding. And I am working on a project that involves controlling an Arduino via serial. So far I was able to use the Arduino to send a serial print to Python and have Python print it. But i need to be able to send command from Python. And every time I use the serial.write("xxx") I get an error. I caint find any good code on google for this. So basically I need a bare min. script. I have pyserial installed. I can post my code but I really don't have anything I really dont have anything. If someone has code for this that would be great!! Thanks