Can I use static key word in user function?
FUNC char StateMachine(void) { static unsigned char _state; switch(_state) { case 0: ... } }
Q 4 U I doubt the OP is willing to wait till quarter 4 for an answer