Go Down

Topic: new library: TrimWright -- UML state machines (Read 1 time) previous topic - next topic

drewfish

Hi all,

I've created a library for making UML state machines. I've been using this library in my own projects for a while and it's finally time to let everyone try it out :)

It's enables authoring reasonably efficient UML state machines on microcontrollers. These are interesting in that they support code that depends on the state or on the transition. As well they support hierarchical states (each state can have any number of child states) which I've found particularly useful.

I did a search (in the IDE library manager) through existing state machine libraries but didn't really see anything that fit. This library is based rather heavily on Practical UML Statecharts in C/C++ by Miro Samek.

Feedback is most welcome.

drewfish

Hmm... it's not showing up in the Library Manager, not sure why. (I added a library.properties file a few days ago.) Anyways here's the source...
https://github.com/drewfish/arduino-TrimWright

pert

Thanks for sharing your work drewfish!

Hmm... it's not showing up in the Library Manager, not sure why. (I added a library.properties file a few days ago.)
In order to get your library in the Arduino Library Manager index, you need to do two things:
Create tag or release that matches the version value in library.properties.
Submit an issue report to https://github.com/arduino/Arduino/issues with a link to your repository requesting that your library be added to the Library Manager index.

It takes a little time after that (~1.5 weeks max) for someone from Arduino to clear out the out the outstanding Library Manager requests.

More information:
https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ

Go Up