Thread: computer thing
View Single Post
Unread 09-07-2003, 09:18 PM   #13
the master
Cooling Neophyte
 
the master's Avatar
 
Join Date: Sep 2003
Location: moonbase alfa
Posts: 7
Default

ok, ill stop with all the question maks, at this point id like to ask everyone to let me know straight away if there is anything in any of my posts that you dont like.

so, about this interface or whatever, i can write a program that will control 8 LEDs through the parallel port, i can have any combination i want.

now lets say that 00000001 works light1, if i switch output 8 on from my computer, i will get that, what do i do next, do i have to switch output 8 off again before i can do the next command?

what if i want light3 to light up, i would give the value 00000011, but, my program can only switch one output on at a time, so if i wanted to get that value i would have to do something like this

call switch out8=on
call switch out7=on

you would then have 2 outputs on, the thing is, there is a milisecond or so between them both switching on, this means that it would light 1 and 2 up and not 3
__________________
"That which seems simple is often overlooked" ~ Me
"It's nice to be important but its more important to be nice" ~ Scooter
the master is offline   Reply With Quote