Go Down

Topic: Interfacing issues with Python and Arduino (Read 919 times) previous topic - next topic


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.

Go Up