Nu freilich geht das mit nem AVR.

Code:
sbi PortB,0
Schau mal in dein Include-File da steht drinn als was PB0 definiert ist dann wird dir klar warum das nicht geht.