Re: [PARPORT] c program

From: Tim Waugh (twaugh@redhat.com)
Date: Thu Aug 29 2002 - 10:59:05 EDT

  • Next message: Waugh, Gerald F: "[PARPORT] Omnivision image module drivers"

    On Thu, Aug 29, 2002 at 09:32:20AM -0500, Henning, Brian wrote:

    > Hello-
    > i am looking to create a device with 8 LEDs that will be connected to my
    > pc's parallel port. all i want to do with this device is toggle these LEDs
    > based on the bit sent from a program running on my machine. I am trying to
    > get some ideas on what settings to use for my parallel port: SPP, EPP, ECP?

    Well of course it doesn't matter, unless you are planning on
    implementing full IEEE 1284 in your device! You would be better off
    just writing to the data port.

    > What c library would i need to include to write a program to
    > interface with this device? Would be easier to buy a kit to do this?
    > which one would be good?

    You can use libieee1284 to do this. To write to the data port, use
    ieee1284_write_data(3).

    Tim.
    */



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Thu Aug 29 2002 - 10:59:59 EDT