From owner-freebsd-hardware Fri Jun 7 8:58:49 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from omega.focalnetworks.net (omega.focalnetworks.net [209.135.104.33]) by hub.freebsd.org (Postfix) with SMTP id 51BD837B400 for ; Fri, 7 Jun 2002 08:58:47 -0700 (PDT) Received: (qmail 29979 invoked by uid 1030); 7 Jun 2002 15:58:46 -0000 Date: Fri, 7 Jun 2002 11:58:46 -0400 (EDT) From: Jai Dhar To: Subject: Parallel port Programming Message-ID: <20020607115651.J29906-100000@omega.focalnetworks.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I am trying to interface an LCD with buttons to my parport in FreeBSD. Now as I understand it, PPI is the 'geek' interface.. I'v been using it, and it's great, but does it provide any means for interrupt handling? The reason I ask is because if I press a button for example, I do not want to send my program into an endless loop checking to see if a certain pin is high.. I think it would be more efficient to have an interrupt triggered when I press a button, but I'm not sure how I would go about doing this. Any help is appreciated, thank you. Jai To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message