The signal line from the SWin sensor to the PIC was cut. During assemble the wire waspinched and eventually broke.