how can i use input_pullup

thanks for that but i'm not getting a light I used digitalWrite

Always show us your ‘current’ compete sketch.
Use CTRL T to format the sketch. Please use code tags.
Use the </> icon in the posting menu.
[code] Paste sketch here. [/code]