>>high led[1]
led[1] is a bit which means that it can be either 1 or 0 (led[8] also can be only 1 or 0 so it does the same thing). When led[1] is used with High command this equates to
High 0 ' RB0 = 1 (if led[1] = 0)
or
High 1 ' RB1 = 1 (if led[1] = 1)
no matter what element from your LED array you use, they all are either 0 or 1, which means they only change RB0 or RB1. Further, you have RB0 and RB1 set as inputs so i am sure you are not seeing outputs. You also have not initialized the values of led[X] so you do not know if they are 1's or 0's.
This thread might help you do what you want (after you blink a few LEDs first using variables and values):
http://www.picbasic.co.uk/forum/showthread.php?t=4074
Last edited by paul borgmeier; - 25th October 2007 at 02:12.
Reason: grammer fix and comment upgrade in High commands
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks