Floating pin with pullup and no external components

I got it to work with the debouncing example. Don't want to add too many delays if not needed. Thx anyway