To form a Voltage Divider, the 10K resistor needs to go to ground.
Pin B7 will connect to the point in-between the resistors. Same as the N.O. output.

HTH,