I'm writing a program to send data over the serial port. I'm using
pyserial, and I'm on WindowsXP. When I use literals I can get the data
accross how I want it for example:
1 2 3 4 5 6
serialport.write('!SC'+'\x01'+'\x05'+'\xFA'+'\x00'+'\r')
1=Get devices
Thanks Tim, and John for your quick responses!
Tim, I tested your function and it works! Though I don't completely
understand how. Could you possibly explain this?
John, I test your "MEDUIM_WAY"and it works as well. How is it that
putting the string together this way translates into a hex value t
How are you trying to import it? Is it in the same directory as your
other script? If not is your python path set correctly?
When importing a module that you have written you exlude the .py
extension. You should be using:
import hello
Hope that helps,
Will
--
http://mail.python.org/mailman/list
Chaos wrote:
> alex23 wrote:
> > Chaos wrote:
> > > I am looking for ways to have a Desktop Alert, like the one most IM
> > > Messengers have (MSN, AIM) at the lower right above the taskbar. Can
> > > anyone point me to the right resources to use?
I get these alerts from gmail-notify. It's for li