Genauso isses ok
Code:
  If Pinb.4 = 1 Then 
          Portc.2 = 0 
  Else 
          Portc.2 = 1 
  End If