K8055 dev c++ how do i put them together?

ok so i’ve got my k8055 all soldered up

is there a step by step guide to how i can use it using this thing called dev c++ ???

what i’m thinking is this

i guess you download dev C++

you write out a dev C++ programme now how does this communicate with the io board?

i need some fairly simple pointers/ explanations to get going

i’ve written some c++ programmes at college and have some awareness of the general make up of c++ ( i wrote a programme that controlled a robot arm and made it do a routine)

the computer that sent commands to the arm used commands that the computer understood (eg outport ( xxx) sent a number to the rs232 port that would be recognised by the arm, inport (took signals sent to the rs232 port from elsewhere).

how do i get going with this thing??

or with some “normal” c++ type programme.

if i could at least write some programme in c++ that would make the io board do something it would be good!!
i suppose you use some special kind of downloadable C++ package that allows the programme you write communicate with the ioboard and make it do things??

This question has been asked before:
viewtopic.php?f=3&t=3946

Try to search the forum, i’m sure there are quite a few other posts about the K8055 and Dev C++

Talking about the search function… I haven’t been able to make it work yet. Every time i search for something about the k8055, i get this error

“The following words in your search query were ignored because they are too common words: k8055 c.
You must specify at least one word to search for. Each word must consist of at least 3 characters and must not contain more than 14 characters excluding wildcards.”

You might try searching for dev c

I got a lot of hits with that one.

thanks for the replies it didn’t really help

i’ll download dev c++ and try and work out what information velleman have given me

if no luck i’ll just contact them direct

from what i gather if you download dev c++ you can write a programme, you need to insert the links given by velleman into this programme and then and only then can the computer talk to the k8055

if they simply provided this information with the k8055 about how to use it it would be better.

you could have a favoured dev c++ on the disc you get with the kit, or a link to get it
you could a simple list for the beginner on how to write a programme and what you need to make that programme control the k8055.

if you had that it would make things a lot easier.

if you knew the subject already i guess you’d be ok

funny enough when i go searching about making the k8055 work my question is at the top of the google hits so i’m only facing my own questions

Hmm?

Did you look at the link VEL448 posted?

There are files for download, with an example program.

ok looked at first suggestion it seems to be for a different board not k8055

looked at seconnd suggestion

downloaded a zip file

you’ve got a litttle package of programmes

K8055 programme shown - when you click this it goes into a programme that uses the outputs and inputs.

K8055D.dll not totally sure what this is about - its a library of instructions that make comms to the board possible i guess???

main.o a copy of how the c++ programme is written

K8055.dev - not sure what this is

main - not sure what this is

Makefile.win - not sure what this is

what i’d guess is that apart fromthe main.o that all of these things are necessary to make the programme work

i’m not sure how i get to that point - if theres some simple list of instructions out there to allow me to get to that point it would be much appreciated - i don’t have a clue!!!

i just need a bit more of a nudge to send me forwards :smiley:

You are right.
Have you read the documentation of the K8055D.DLL?
If not, you may download it from here:
velleman.eu/distributor/supp … 8055&type=

The documentation is included to this download package:
Software DLL Rev 2
older DLL with examples and source code (source can also be used with DLL rev 3)

Download also this latest K8055D.DLL:
Software DLL (Rev 3.0.2)
supports Windows Vista, VC++ version and executable examples

To start the project:
Double click the K8055.dev.
The K8055 project will open to the Dev C++ environment.
When opened, click main.cpp in the project browser on the left side of the screen.
The file main.cpp will open to the edit window.
Scroll down until you see the line:

int main(int argc, char *argv[])

This is the start of the main routine.

You need at least some experience in Dev C++ or C++ for that matter, but good luck