Lass mal das $baud=9600 raus.
Bascom wird damit automatisch PinD.1 (RX) als Eingang setzen.

Gruß

Rolf