Visual warning method using attentional induction by light flashing