question about binary and serial info
Grant Edwards
grante at visi.com
Thu Aug 18 12:48:49 EDT 2005
On 2005-08-18, nephish at xit.net <nephish at xit.net> wrote:
> i got the bitwise part, i just cant seem to convert the
> incomming ascii into hex, binary, integer, or decimal.
So you've got an ASCII string in one format and you want to
convert into an ASCII string in a different format?
For example you want to convert the string "FF" into the string "255"?
> how do i do this, my serial port bytes just come in all weird
> looking ascii characters
--
Grant Edwards grante Yow! It's OKAY -- I'm an
at INTELLECTUAL, too.
visi.com
More information about the Python-list
mailing list