My first LPT port programming test using LED
Uploader Comments (iceincube)
All Comments (10)
-
@iceincube indeed you should run this program from root.
-
its all good now i have it working thanks. i also have it so that the light stays on.
i am running if from a vnc in another room and next it will be over the internet .how would i go about individual lights. i have 8 lights wired with resisters into the parallel port. they all go on and off together. i had them working on a windows program so i could run individual lights and set the timing.
your program is the only one i have seen on the net that works properly on ubuntu.
-
how do you run it? im sorry if this is a stuped question.
i see you type something in to the terminal but what?
-
yes i did. and its sitting compiled in my home folder.
-
yes i did. and its sitting compiled in my home folder.
that's cool man. i did everything right up to what you type into the terminal.
i have no idea how to get it started. this may be a stupid question but hay I'm just starting. would love to get this going
f1ua 1 year ago
@f1ua did you compile the program? I can't understand where you got stuck with your try, You have to compile that code in my blog into a program and the run it.
iceincube 1 year ago
i typed ../lpt and it gives me this
ioperm: Operation not permitted
f1ua 1 year ago
@f1ua oh, damn. Maybe you have to run this program as root? Cant rally remember this. And use one dot. It means current directory. ./lpt
iceincube 1 year ago