Re: [Emc-users] How to set parport pins 1 - 9 to bidirectional?

2009-04-14 Thread Tom
John Kasunich  writes:


> I believe cfg="0x0378 in" will work (or maybe the "in" comes first, then
> the address - the proper syntax is definitely in the manual).  That will
> set pins 2 thru 9 to input instead of output.  Pin 1 is what it is -
> there is no way to turn it around ( hardware limitation ).
> 
> Regards,
> 
> John Kasunich

Thanks John, I was putting the "in" outside of the quotation marks, so that did
it: my CNC4PC jpg pendant is up and running!

Thanks,
Tom


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to set parport pins 1 - 9 to bidirectional?

2009-04-14 Thread Len Shelton
loadrt hal_parport cfg="0x0378 in"

-Original Message-
From: Tom [mailto:kestrel...@yahoo.com] 
Sent: Tuesday, April 14, 2009 5:33 PM
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] How to set parport pins 1 - 9 to bidirectional?

Is there an argument to 
loadrt hal_parport cfg="0x0378"
that will set the normally output only pins 1-9 to bidirectional, or to
input?

Thanks!
Tom



--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to set parport pins 1 - 9 to bidirectional?

2009-04-14 Thread John Kasunich
Tom wrote:
> Is there an argument to 
> loadrt hal_parport cfg="0x0378"
> that will set the normally output only pins 1-9 to bidirectional, or to input?
> 

I believe cfg="0x0378 in" will work (or maybe the "in" comes first, then
the address - the proper syntax is definitely in the manual).  That will
set pins 2 thru 9 to input instead of output.  Pin 1 is what it is -
there is no way to turn it around ( hardware limitation ).

Regards,

John Kasunich

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] How to set parport pins 1 - 9 to bidirectional?

2009-04-14 Thread Tom
Is there an argument to 
loadrt hal_parport cfg="0x0378"
that will set the normally output only pins 1-9 to bidirectional, or to input?

Thanks!
Tom


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users