Since any PORT B pin is able to source a max. of 10mA per pin,
can use PB to drive LED display directly.(NOTE: using 3mm LED )
As shown in the circuit, 8 LEDs are connected to Port B with each
120 Ohm current limiting resistors.
The following code,
demonstrate how to output and turn on & off the LEDs. The program
blinks the series of LEDs from LED1 to LED8 turning on & off one
after another sequentially. When it reaches LED8, it repeats the
process all over again starting at LED1.