parallel port control
Posted: 26 Feb 2012, 04:14
I did something like this years ago in MSDOS in Qbasic
and always wanted to do it in linux so here it is
maybe you want to control some devices from your PC
this is very basic but does the job
I wrote the binary in BaCon and compiled a C app for the backend
the source code is included in doc
*I tested this and its working with my multi-meter*
pin 25 ground then pins 2-9 are the eight bits we use
and input 1-8 ( 0 will turn off the led or device)
run
http://bigbass-porteus.googlecode.com/f ... 1_PORT.tgz
pin outs
http://www.labbookpages.co.uk/electroni ... lPort.html
and always wanted to do it in linux so here it is
maybe you want to control some devices from your PC
this is very basic but does the job
I wrote the binary in BaCon and compiled a C app for the backend
the source code is included in doc
*I tested this and its working with my multi-meter*
pin 25 ground then pins 2-9 are the eight bits we use
and input 1-8 ( 0 will turn off the led or device)
run
Code: Select all
./ascii-test2
pin outs
http://www.labbookpages.co.uk/electroni ... lPort.html