Hi, I have a DLL that contains a set of functions to read and write ports to a microcontroller. I also have an OCX with the same functions Is it possible to call the functions in the DLL or OCX from pd? If so. could somebody point me in the right direction? Where would I script the call? thanks
Hallo, rr hat gesagt: // rr wrote:
I have a DLL that contains a set of functions to read and write ports to a microcontroller. I also have an OCX with the same functions Is it possible to call the functions in the DLL or OCX from pd? If so. could somebody point me in the right direction? Where would I script the call?
You probably need to write an external. See the Pd External Writingg Howto for details. http://iem.kug.ac.at/pd/externals-HOWTO/
Frank Barknecht _ ______footils.org__
On Wed, Feb 18, 2004 at 11:38:46AM -0500, rr wrote:
I have a DLL that contains a set of functions to read and write ports to a microcontroller.
What so special about the communication protocol of the microcontroler? Does it work with a serial port using human readable commands? Because you might not need the DLL, and you could build a cross-platform patch.
I also have an OCX with the same functions Is it possible to call the functions in the DLL or OCX from pd? If so. could somebody point me in the right direction? Where would I script the call?
I think you'd have to program an object in C that uses the DLL.
As usual, I recommend flext.
--
Marc