On 2014-05-19 02:08, andy pugh wrote:
> On 18 May 2014 17:25, Marius Liebenberg <[email protected]> wrote:
>> Hi Steve
>> Thanks for the all helpfull information. The problem am working is that
>> the parport driver for linuxcnc does not deal with the control port as a
>> bi-directional port. I have to change the way the driver sets itself up
>> and conducts the read and write operations. Also, HAL does not allow you
>> to connect an OUTPUT pin to an IO or other OUTPUT pin.
> I think that things would be a lot simpler if you ignored IO pins and
> created both an input and an output pin for each IO pin.
>
> I think that the hostmot2 driver works this way, you can (for example)
> read stepgen outputs as inputs.
You mean on the HAL side of things. Yes that is what I am doing at the 
moment. I have an IN and an OUT pin for each of the control register 
pins of the parport. It is taking some effort as there are many places 
in the code where the bi-directional function has to be incorporated. 
Although the physical pin is just one, I cannot handle the the pin as 
one in the code. I am getting there slowly as I only work on it after 
hours. (and I am not as fast as I once was)

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to