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
Serial to Arduino Help
Serial to Arduino Help
|
Feb-09-2017, 05:11 AM
Checkout https://pypi.python.org/pypi?%3Aaction=s...mit=search
you'll find a bunch of packages that do what you need
Feb-10-2017, 05:03 AM
Perfect thanks man.
|
|
Users browsing this thread: 1 Guest(s)