K8055 Python windows

I’ve managed to get the K8055 working well with python (2.5) under linux (using the library @ libk8055.sourceforge.net/)
but seem to be struggling getting it working under windows python (2.5).

Is there a doc file somewhere i can read to get it going?

Regards

Derek Lamb

libk8055 requires libusb:
libusb.sourceforge.net/

libusb supports the following operating systems:
Linux
FreeBSD
NetBSD
OpenBSD
Darwin
MacOS X

So i don’t think it’s possible to use libk8055 on windows

[quote=“VEL448”]libk8055 requires libusb:

So i don’t think it’s possible to use libk8055 on windows[/quote]

Yeah I realised that but I figured someone must have tried to get the K8055 running under python windows, so was hoping I might get pointed in the right direction.

I’m more familiar with the linux side of things and was hoping to as close as possible use what i’ve written on linux python and create a windows program.

Regards

Derek Lamb

[I realise I’m replying to a very old posting but perhaps this info is still of interest…]

Accessing the K8055 DLL from python 2.5 is essentially easy thanks to the ctypes module, as the following (working, tested) code snippet should demonstrate:

from ctypes import *
print "accessing dll..."
libu = windll.K8055D
print "opening device..."
print libu.OpenDevice(0)
print "turning on LED7..."
libu.SetDigitalChannel(7)
print "turning off LED6..."
libu.ClearDigitalChannel(7) to 
print "closing device..."
libu.CloseDevice()
print "That's all folks!"

I intend to produce a look-alike of the graphic demo, using wxPython; I will make this available on this forum if anyone expresses interest.

HI Larry,

[quote=“Larry Myerscough”]
I intend to produce a look-alike of the graphic demo, using wxPython; I will make this available on this forum if anyone expresses interest.[/quote]

are you still willing to make it available here?