Quote Originally Posted by obaskirt
My problem is; I can not define PORTB.LED??? and in your example which port did you make high or low? For example, I connected 8 leds to PIC 16F84's PortB. How can you turn on then turn of these leds by using for next loop. Also you can do this by left and right shift operator but I am curious about how can this problem accomplish by using for-next loop. Thankss..
low = 0 does the same thing as low portb.0. You can address portb 0-7 and portc 8-15 like this. I'm not sure if you can access other ports in this fashion or not though.