Why are you using PORTB.2

but if I attempt to raise or lower the port
What do you mean?

And of course your code will help someone figure out what you are doing wrong

And

DATA sheets are your friend.
Please read the chips DATA sheet and make it happy