Hello!
I want to make a very simple led(blinking light) using printer(parallel) port. I am using Linux. Can anyone please give me very simple code example or a tutorial? Thank you!
Hello!
I want to make a very simple led(blinking light) using printer(parallel) port. I am using Linux. Can anyone please give me very simple code example or a tutorial? Thank you!
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Why do I need this driver? Can't I just access palallel port from my code???Code:The ppdev driver enables accessing port bits, interrupts, negotiating, and setting modes.
Well if you're looking for some drop-in replacement for outport() in DOS, then you're stuck. Linux is a protected OS, so random access to bits of hardware are not allowed for mortals. Super users have some access though.
http://www.torque.net/linux-pp.html
Plus do some searches for "/dev/parport" and "/dev/port"
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.