CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007

    k8055 c++ program help

    Hello, i'm doing a senior design project and i don't know a whole lot about c++ programs. I bought a k8055 board that came with an open source program. I need to modify this program to detect our chip, take digital inputs, and send digital ouput. A simple C++ program that would do the same thing would be fine also. I just can't decipher the source code for the program that came with the chip. A little background about what i'm trying to do is have a program that detects our k8055 board, takes digital inputs, sends these inputs into microsoft access or excel. Also i need to need to do this for a pda running windows mobile. Does anyone know if a regualr c++ program will work on that. I think this is the correct files. This forum would not let me upload the files straight from the cd because it said that they were too large. Any help with this issue would be greatly appreciated.


  2. #2
    Join Date
    Jan 2013

    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:


    [DllImport("k8055d.dll" , CharSet = CharSet::Ansi)] extern "C" int OpenDevice(int CardAddress);

    use in program:


  3. #3
    Join Date
    Jan 2013

    Re: k8055 c++ program help

    The example on how to use my library is a little different because I uset .NET technology. You must add the library onto the project through project properties and then declare namespace:

    using namespace SVLib_PIC18F24J50;

    all the rest si simple:

    SVPICAPI board;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.