Thanks david It is working
David Escobar
Sent by: users-boun...@lists.ironpython.com
10/07/2009 12:24 PM
Please respond to
Discussion of IronPython
To
Discussion of IronPython
cc
users-boun...@lists.ironpython.com
Subject
Re: [IronPython] Ctrl + A
The ASCII code for the Ctrl+A
The ASCII code for the Ctrl+A character is 01, so I would try something like
this:
cmd = chr(01) + " SWITCH ON 01 02"
Then send the cmd string. If you need to convert a single-character string
back to an ASCII code, you would use the ord function.
On Tue, Oct 6, 2009 at 11:12 PM, Aloysius Jegan
Hi,
How to give Ctrl+A as a start of string in Ironpython?
My requirement is like this,
I have to send one command to my device assume the command is "SWITCH ON
01 02 03"
before sending this command through serial port, I have to press Ctrl+A as
start of command. I don't know how to add Ctrl+A