Man kann in PINs nicht SCHREIBEN. Nur in PORTS.
Mach mal oben:

Config PORTd.1 = Output
Config Pinb.0 = Input
Taster1 Alias Pinb.0
Led1 Alias Portd.1