That is fine, but from your schematic the resistor (hope 10 KOhms) is connected to Vss, which is a pulldown not a pullup. Connect the resistor to Vdd.I have the resistor on pin 4 not pin 3.
In your schematic you are showing Vdd as ground! Remember that Vdd is + 5 Volts and Vss is ground.
Al.
Bookmarks