Worth to fork and add some features. Library itself is small enough, can refactor to extract the common part and add future interrupt driven 2nd subclass
Both Eventually and Reactduino replaces the original form of open framework which will be quite confusion for entry level arduino users (which defeats the purpose)
With Eventually exposes setup but not loop
Reactduino uses app.<...> without setup or loop (or should we say renamed)
Eventually is in library repository, reactduino is not (which means reactduino needs to be downloaded from github and installed manually)
Both are quite outdated
The example they use even had pde as extension which means it's from arduino 1.0 era
However compiled both and seems to work well
Both lack good example
Lacks dynamic register and removing callback (which is needed for slightly advanced application)
Demos only contains recurrent task or delayed task
Demos lack external intervention to refresh timestamp of certain task (which is useful for tasks like turnoff if no interaction within 30 seconds)
The library supports this but without good interface.
For understanding, very surprising to me also ,the addeventlistener from eventually which suppose is sound more familiar seems to be less understandable than Reactduino's syntax.
This need also to be tested on students and seek their opinions.
Action as of current understanding
Fork a version of Reactduino and can be integrated with non-blockable example like the ESP8266 websocket one to make the program look shorter.
I would suggest you to do a more comprehensive review of existing libraries for doing something similar, and then we can re-design a new library. From what I see, there may be a more comprehensive library already available which makes people to move away from this project, and hence lack of update for quite some time. Hence, I think there should be a better library on Arduino out there for doing this type of event driven programming.
4 Comments
Victor Cheung
Victor Cheung
Similar purpose library: https://github.com/Reactduino/Reactduino
Victor Cheung
Test Result from Victor's perspective.
Choy Sze Tsan Clifford
I would suggest you to do a more comprehensive review of existing libraries for doing something similar, and then we can re-design a new library. From what I see, there may be a more comprehensive library already available which makes people to move away from this project, and hence lack of update for quite some time. Hence, I think there should be a better library on Arduino out there for doing this type of event driven programming.