Yes you could use Python for this sort of thing. The link you posted is
just using a kernel spi driver that Python can write to just as well as
C++ can (via it's /dev/spidev0.0 file). There is a python library that
can talk to SPI in Python on the pi:
http://www.100randomtasks.com/simple-spi-on-
Benjamin Peterson, 10.12.2009 20:26:
> Emeka writes:
>> I am finding it difficult getting my head around PyObject_CallObject(x,y). I
> need a gentle and thorough introduction to it. I also need examples. Could
> someone come to my need?
>
> PyObject_CallFunction is probably easier to use.
Hmm, I
Emeka gmail.com> writes:
>
>
> Hello All,
>
> I am finding it difficult getting my head around PyObject_CallObject(x,y). I
need a gentle and thorough introduction to it. I also need examples. Could
someone come to my need?
PyObject_CallFunction is probably easier to use.
http://docs.python.o
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
Roman Yakovenko wrote:
> you want to find some kind of "translator"
>
> C++ code:
>std::cout << 1;
> translator output:
>print 1
>
> Am I right? If so, I am pretty sure that such "translator" does not
> exist - too complex.
...however such a "refactor" is easy for a human to do.
What t
On 10/10/06, Frank Martinez <[EMAIL PROTECTED]> wrote:
> Hi, Roman.
> Thanks. I seem a bit confused. Does Py++ actually convert the C++ code to
> Python or does it just provide a wrapper to C++ code?
A second one. Now when I read your mail one more time, I think I was
wrong, because
you want to
Hi, Roman. Thanks. I seem a bit confused. Does Py++ actually convert the C++ code to Python or does it just provide a wrapper to C++ code? You say tomater, I zader matermorts. -- Coach Z, Homestarrunner.com On Oct 10, 2006, at 3:55 PM, Roman Yakovenko wrote:On 10/10/06, Frank Martinez <[EMAIL PRO
On 10/10/06, Frank Martinez <[EMAIL PROTECTED]> wrote:
> Hi, Everybody!
> Does anyone know of a cpp2py type application? Without going into details,
> I need to port a bunch of C++ code to Python. Any such
> converter/information would be helpful.
> Thanks.
Take a look on Py++( http://language
10 matches
Mail list logo