Date: Sun, 11 Oct 2009 11:23:53 +0200 (CEST) From: Sven Hazejager <sven@hazejager.nl> To: freebsd-usb@freebsd.org Subject: Simple manner to read 1-pin high/low from USB under FBSD? Message-ID: <0910111122164F.-1077952704@somehost.domainz.com>
next in thread | raw e-mail | index | archive | help
Hi all, I'm using a simple circuit to read led pulses from my electricity meter and am now using simple C code to poll the parallel port to detect a high/low change on pin 12. (see http://offog.org/code/electricity.html) My new server probably won't have a parallel port anymore. So the question is: is there a simple manner to read 1-pin high/low from USB under FBSD? Any examples anywhere? Thanks! Sven
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0910111122164F.-1077952704>