Hi, Question is: can I manipulate the bits of the parallel port using BASH scripting or should I be looking at a different approach?
IBM Thinkpad 600E
288megs
366mhz
Puppy 4.3.1
Parallel port question
Re: Parallel port question
kj4bnh wrote:Hi, Question is: can I manipulate the bits of the parallel port using BASH scripting or should I be looking at a different approach?
IBM Thinkpad 600E
288megs
366mhz
Puppy 4.3.1
Hey kj4bnh
Its not common for me to post here but you may be really serious about trying to
connect the parallel port for some reason
and you would have to sort a lot of information to get it to work from scratch
I had done this using a C app and a Basic test example and personally
tested this to be working
in the second post I ported the C app to 100% BaCon code
if you know a little Basic or C it can be done
it's a lot to explain in one post but there is nothing better than working code
http://basic-converter.proboards.com/th ... rt-control
if you are interested sign up at http://basic-converter.proboards.com/
thats were I am usually
Joe
- Moose On The Loose
- Posts: 965
- Joined: Thu 24 Feb 2011, 14:54
Re: Parallel port question
I have done it the the past almost totally with bash. What I did was write an extremely small program in C that what just smart enough to put one byte on the port.kj4bnh wrote:Hi, Question is: can I manipulate the bits of the parallel port using BASH scripting or should I be looking at a different approach?
IBM Thinkpad 600E
288megs
366mhz
Puppy 4.3.1
The project was a halloween thing that controlled a few effects and played sounds out a few speakers.
For that purpose, it was more than good enough but I would not want to do timing any better than that sort of thing.
BTW: A good trick for getting more bits than 8 outputs is the CD4099. You can drive 3 of them and get 24 bits controlled.
Re: Parallel port question
Timing is not a big issue, this project just mimics a button push on a tv remote.Moose On The Loose wrote:I have done it the the past almost totally with bash. What I did was write an extremely small program in C that what just smart enough to put one byte on the port.kj4bnh wrote:Hi, Question is: can I manipulate the bits of the parallel port using BASH scripting or should I be looking at a different approach?
IBM Thinkpad 600E
288megs
366mhz
Puppy 4.3.1
The project was a halloween thing that controlled a few effects and played sounds out a few speakers.
For that purpose, it was more than good enough but I would not want to do timing any better than that sort of thing.
BTW: A good trick for getting more bits than 8 outputs is the CD4099. You can drive 3 of them and get 24 bits controlled.