does anybody have some examples for a thin statemachine that can be simply implemented? Before wasting some time about the methods, maybe there are existing projects. It’s just about the processing of events occurring and that should be processed within a specified task which extracts events and transfers them into some defined states.
Any suggestion would be appreciated. Regards from Germany, Peter
What do you mean by a thin state machine?. Could you explain more precisely? And what the state-machine is to do with RTOS?
Not really a FreeRTOS question, but I have been using a the following with success within FreeRTOS
Its a very simple implementation.
Bit more complex… (evaluated but not used)
Complete framework… (Check licence for commercial use)