I have the K8055 I/O board (verified functional on Windows) and am very happy with it.
Since my main computers are Mac OS X, I’m attempting to write a USB driver for the board for OS X.
I knokw I could take the route of disassembling the library file, but that’s a bit dirty, and probably not according to the license agreement.
The Linux software available gives a few hints, but it’s terribly generic (read all, write all), while I wish to build a driver that offers at least the same functionality as the Windows library offers.
So, my question to you is: Is there anywhere I can get a list of the known commands of the PIC, and the parameters (number of and meaning) for each command ?
I found another post where Velleman support points to the source of the DLL (a Pascal file - K8055DM.pas). What I see in there is what appears to be that there are only two functions implemented by the PIC - “read everything” and “write everything”.
It would be nice (and definitely not a waste of my time ) if Velleman support could verify that this is in fact how it is.
One more thing - when input data on the K8055 changes (analogue or digital), does it create an interrupt, or do I have to keep a timed thread reading the board every 10ms ? (If it creates an interrupt, kernel time won’t be wasted reading the same stuff over and over )