rotary callback was checking wrong pin. red led is turned on now in case of scheduler is full