On Apr 13, 7:58 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Sat, 12 Apr 2008 07:58:47 -0300, Michele Petrazzo
> <[EMAIL PROTECTED]> escribió:
>
>
>
> > Hi all,
> > I'm trying to translate a simple C code into a python + ctypes (where
> > need), but I have some problems on char conversio
En Sat, 12 Apr 2008 07:58:47 -0300, Michele Petrazzo
<[EMAIL PROTECTED]> escribió:
> Hi all,
> I'm trying to translate a simple C code into a python + ctypes (where
> need), but I have some problems on char conversion. The code have
> to work on Linux and talk with the serial port. I think that
On Apr 12, 5:58 am, Michele Petrazzo <[EMAIL PROTECTED]>
wrote:
> Hi all,
> I'm trying to translate a simple C code into a python + ctypes (where
> need), but I have some problems on char conversion. The code have
> to work on Linux and talk with the serial port. I think that the problem
> is that
Hi all,
I'm trying to translate a simple C code into a python + ctypes (where
need), but I have some problems on char conversion. The code have
to work on Linux and talk with the serial port. I think that the problem
is that I don't translate correctly the strings.
C code:
#define START 0x33
#defi