|
-
January 17th, 2013, 03:24 AM
#2
Re: k8055 c++ program help
Recently I've managed to program my own code into K8055N board microcontroller (PIC18F24J50). I also developed my own DLL in C++ which can interface to C++ or VB or any other applications. Of course, I could use the Velleman's DLL, but I get whole more functionalities from my firmware (like 10-bit A/D conversion and access to 16 analog input channels). However, if you would still like to use the original DLL in C++ programs, I don't see a problem. It has similar interface to my DLL. Here is an example of my C++ applicytion calling DLL.
Here is an example:
delaration:
[DllImport("k8055d.dll" , CharSet = CharSet::Ansi)] extern "C" int OpenDevice(int CardAddress);
use in program:
OpenDevice(0);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|