[Sussex] Digital IO card

Steve Dobson steve at dobson.org
Tue Mar 8 21:13:22 UTC 2005


Brenden

On Tue, Mar 08, 2005 at 08:04:40PM -0000, Brendan Whelan wrote:
> Thanks for the response - I had wondered whether it was practical to use one
> of the existing ports.  At this stage I am simply looking to demonstrate
> flashing a light can be done, so a simple solution will be appropriate. How
> can I send a signal, ideally from PHP program, to the printer port? Any
> pointers or links are very welcome.

Well if you're using the parallel or serial port then you should be able
to open it in the program and write characters to it on byte at a time.
Make sure to enter raw mode (for the serial I know this can be a problem).

Steve




More information about the Sussex mailing list