Re: Problem with this sketch

I don't know why you use fsm.h. I can only guess it is for timers?

FSM = Finite State Machine

Why there is a class for something so simple amazes me.