
-----------------------------------
rajuthan
Tue Jun 13, 2006 5:20 pm

How can i Run Two Leds at the same Time?
-----------------------------------
Does anyone Know How I can Run 8 leds at the same time with this Code:

-----------------------------------
xHoly-Divinity
Tue Jun 13, 2006 6:02 pm


-----------------------------------
I believe that the code you are looking for is 'parallelput (value)', value being the binary number that corresponds to the correct pin (if u are using a buffer chip). If you want everything on, then you should probably parallelput (255). I didn't really look over ur code, but that would be my guess :P

-----------------------------------
iker
Tue Jun 13, 2006 7:38 pm


-----------------------------------
im assuming that your parallelput values are wrong, because with one finish, it turns all led's off 

parallelput (0)

and the other one turns the first led on

parallelput (1)

try these as an alternative

%no leds
parallelput (0)
%first led
parallelput (1)
%second led
parallelput (2)
%both 1 and 2
parallelput (3)

