Very little flickering by moving code out of interrupt