Ich glaube das man nicht

Config Portb.0 = Output
Config Portb.1 = Output

sondern

Config Pinb.0 = Output
Config Pinb.1 = Output

schreibt
.
Korrigiert mich falls es nicht so ist