got a quick quickie...
Im trying to send commands to a micrcontroller via a USB->serial converter.
Im writing with wxPython on an XP machine it thats important.
I have been using the win32 module along with USPP and so far so good, apart from one thing. As far as i can work out it is only possible to write strings to the port as USPP uses a file handling style.
I am hoping to be able to send simple 8bit packets. I tried converting my data into the corresponding ASCII character and writing that to the port, but for anything lower than 0x20 it wont work as anything lower is an unprintable character...
Any help would be greatly appreciated.