Flickering OLED

improper declarations in the past was causing the problems