Re: [Tutor] Talking to hardware with python

2005-05-11 Thread Ferry Dave Jäckel
Hi Alan, Am Montag, 9. Mai 2005 08:07 schrieb Alan Gauld: > The only advice I'd offer is to stick to a C interface rather > than C++ and provide the OO wrapper at the Python layer. But thats another layer. A c-interface, swig, and python-abstraction. As Python function calls are rather slow and

Re: [Tutor] Talking to hardware with python

2005-05-08 Thread Alan Gauld
Hi, The only advice I'd offer is to stick to a C interface rather than C++ and provide the OO wrapper at the Python layer. C is much easier to use than C++ and simpler to intregrate with Python - which is itself written in C. Also a C library is more open in that it can be used by other projects w

[Tutor] Talking to hardware with python

2005-05-08 Thread Ferry Dave Jäckel
Hello list, I want to talk to a custom usb-device (cypress CY7C63001A with firmware from ak modulbus) with python on win32 and linux (and maybe mac). For win32 there is a driver (as sys-file) and for linux an old deprecated driver which I'm going to rewrite for kernel 2.6.x. As I have only min

[Tutor] Talking to hardware with python

2005-05-08 Thread Ferry Dave Jäckel
Hello list, I want to talk to a custom usb-device (cypress CY7C63001A with firmware from   ak modulbus) with python on win32 and linux (and maybe mac). For win32 there is a driver (as sys-file) and for linux an old deprecated driver which I'm going to rewrite for kernel 2.6.x. As I have only min