Computer Science Canada How can i Run Two Leds at the same Time? |
Author: | rajuthan [ Tue Jun 13, 2006 5:20 pm ] |
Post subject: | 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: |
Author: | xHoly-Divinity [ Tue Jun 13, 2006 6:02 pm ] |
Post subject: | |
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 |
Author: | iker [ Tue Jun 13, 2006 7:38 pm ] | ||||||
Post subject: | |||||||
im assuming that your parallelput values are wrong, because with one finish, it turns all led's off
and the other one turns the first led on
try these as an alternative
|