Partly as you say but it only puts the control lines into input mode so 
that the port has 8 out and 9 input lines. To use it as bidirectional 
pins the approach is slightly different. So I have to add the 
bi-directional pins as a config option and then they must be handled is 
input or output as required.
Currently the code only handles input or output mode. I started with the 
corrections already and might ask for some testing help later.

One wire will work if we have bi-dir pins. Just need a driver comp then.
Once I have the bi-dir stuff sorted I can continue with the I2C driver.


On 2014-05-18 09:23, Andy Pugh wrote:
>
>> On 17 May 2014, at 22:55, Marius Liebenberg <[email protected]> wrote:
>>
>> I need an added feature for the parport driver namely to be able to put
>> the control pins in bi-directional mode in order to drive i2c devices.
> I think that this is partly implemented already as the "x" mode.
>
> It might also be a useful feature for bit-banging onewire.
>
> ------------------------------------------------------------------------------
> "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
>

-- 

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