Visible light communication with flickering prevention