The difference between this circuit and the one shown in the previous article is that, in this circuit, the output goes to the high logic level when the sensor is closed (Figure 1).
The components (capacitor and resistor) are chosen according to the bounce characteristics of the sensor and are in the same range of values described in the last block. See also other articles in the site. In it you’ll find blocks that can be added to the output of this circuit to increase its power.