Interfacing w/ Software on the Computer
Interfacing issues with Python and Arduino
Topic: Interfacing issues with Python and Arduino
(Read 919 times)
Re: Interfacing issues with Python and Arduino
Mar 19, 2013, 04:55 pm
Ok, I finally got back to the Arduino project after a hectic time where I couldn't touch it again. As far as I know PaulS I guess that my programming with the Arduino is just an artifact leftover from programming software to interface with the Arduino, so my programmer's instinct tells me that when it comes to write() commands the process is "convert everything to strings" -> "write to port." So far, that doesn't seem to be the problem, but I suppose that if Arduino's write() command does the string conversion already I suppose some code is unnecessary from a programming budget perspective.
Thanks billroy by the way. I added a time.sleep(2) on the line after I define the serial object "arduino" and I readjusted the time.sleep() after the write() command to be a time.sleep(2) as well. So far, everything works now.