Simple manner to read 1-pin high/low from USB under FBSD?

Sven Hazejager sven at hazejager.nl
Sun Oct 11 09:23:55 UTC 2009


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


More information about the freebsd-usb mailing list