Post by MikeThanks.
I was hoping to use the joystick port, serial port, or com port. I
have to be able to read data coming from the port as well.
My device is all being home made....
I want to create an app in vb (version 5 - sorry). This app would be
used to control a chick incubator.
1) Read the temperature (I have a probe thermometer I would use the
thermal resistor from it) - this would basically be a resistance value
that I would then convert to a temperature value by math.
2) Either A) control a LED light (on or off) - OR - control a relay
switch. Either one would be used to control the incubator's heating
system.
3...whatever) Once I am able to control the port I can add things like
egg rotation, humidity control, etc..
That is why I need to have access to the ports. Being able to cause a
particular pin to become active or de-active.
Thanks
Mike
Oh, sorry for the chicken, I forgot I was come here ...
Well, somewhere on codeproject.com I saw something detailed to command
LEDs on a parallel port, but if I remember well it was in C#, do not
know if it can help you.
So, with an existent peripheral you can call different functions,
following the doc. But if I understand, you want to develop your own
peripheral, so you face different problems at the same time : you have
the problems to develop the peripheral, and those to access it from a
program.
I am afraid my experience is a little short to help you efficiently.
Perhaps in a year or two I shall try to explore that domain a little
more, so if you find something useful, it would be nice to tell.
Something else I wanted to develop at a moment (but I did not have the
hardware), was a program that was able to receive impulses from an
AS400, to increase counters, for numbers of accounting documents.
Probably there are a few common aspects with what you intend to do.