MrDEB
Well-Known Member
want to cycle in a FOR NEXT loop but can't even get one led to come on unless I just go for portb.0 = 1
want to dimension the leds to work with the ports but use leds(x)
pretty basic but ??
I tried portb.0 = leds(0) but it won't work.
leds(8) as byte
leds(0) = portb.0
leds(0) = 1
delayms(1000)
leds(0) = 0
want to dimension the leds to work with the ports but use leds(x)
pretty basic but ??
I tried portb.0 = leds(0) but it won't work.
leds(8) as byte
leds(0) = portb.0
leds(0) = 1
delayms(1000)
leds(0) = 0