PaulS:
FSM = Finite State MachineWhy there is a class for something so simple amazes me.
It seems a bit like having a for-next library. No, I'm not going to look because I might find one for those too.
I saw errors in the code and I could guess about what it's supposed to control but the logic is not well organized. Ordinarily my motto is "the code is the comments" but in this case it tells me about as much as a Trump speech.
The use made of that li9brary seems limited to timers though I dunno if they're repeaters or one-shots and frankly I'm not gonna dig into that library to find out.