1. *** COM 2 ...

Hi, I'm David Stacey from AUSTRALIA, and have just come across the Euphoria
program, and am very impressed ... one taxing question though ...

I have, (in a correct fassion) hooked up 'LED's to all the PINs of a COM
port 2/1 and Printer LPT port, and would like to know ... is there any way
that I can create a program that will send bits of data '1's and '0's so one
of the lights will light up, by sending down a constant string of '1's, and
is there a way to specify which PIN I want it sent to ???

Although I know this might be a bit hard to understand, but please bare with
me, and if you need more information, contact me on either ...
jiloate at cqnet.com.au or ... davidstacey at hotmail.com  with a request for
information, or a bit of a guide-line !!!


THANKZ !!!

new topic     » topic index » view message » categorize

2. Re: *** COM 2 ...

> I have, (in a correct fassion) hooked up 'LED's to all the PINs of a COM
> port 2/1 and Printer LPT port, and would like to know ... is there any way
> that I can create a program that will send bits of data '1's and
> '0's so one
> of the lights will light up, by sending down a constant string of
> '1's, and
> is there a way to specify which PIN I want it sent to ???

Take a look at my Themometer program.
I read and write to a thermometer chip via the parallel port, at a bit
level.
It works only under Win95 (there is a DOS version also), but not under
WinNT, because
the way the ports are used. (Under NT a driver will be necessary).
You would need ports.e from the library.

Jesus.

new topic     » goto parent     » topic index » view message » categorize

3. Re: *** COM 2 ...

David Stacey wrote:

> Hi, I'm David Stacey from AUSTRALIA, and have just come across the
Euphoria
> program, and am very impressed ... one taxing question though ...
>
> I have, (in a correct fassion) hooked up 'LED's to all the PINs of a COM
> port 2/1 and Printer LPT port, and would like to know ... is there any
way
> that I can create a program that will send bits of data '1's and '0's so
one
> of the lights will light up, by sending down a constant string of '1's,
and
> is there a way to specify which PIN I want it sent to ???
>
You can certainly do this with the LPT port(s). I hope you realise that the
serial
ports have only 1 output line, so hooking LED's to "all" pins won't do much
good.
Not to mention that any data sent to the serial ports lasts for, let's say,
1/9600 th
of a second, so it's going to be rather hard to see anything unless you
decode the
serial data and latch it in some way.

Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu