Also,

How did you connect your LED to PORTB.0 ?

Usually, people make simple mistakes about it, and connect it WRONG.

___________________________________