interrupt and button loop probelm

but don't want it polling that button in a while function

Why not?