If you insist on doing it the hard way, start with explaining how pin 5 or 6 belongs to PORTB which is pins 8 to 13. Then, explain how manipulating any value in PORTB is going to affect any pins outside the range 8 to 13.
If you insist on doing it the hard way, start with explaining how pin 5 or 6 belongs to PORTB which is pins 8 to 13. Then, explain how manipulating any value in PORTB is going to affect any pins outside the range 8 to 13.