Arduino EventSystem

Hi all,

Based on a old forum http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1279102180/2 I started a project to create a more extensive EventSystem.

At the moment the project contains these classes

  • EventQueue

  • EventDispatcher

  • EventElements

  • EventButton

  • EventLed

  • EventTimer

  • EventAnalog

  • EventMenu

The project can be found here Google Code Archive - Long-term storage for Google Code Project Hosting.

Comments remarks requests are welcome.

NOTE: This is a work in progress.

I was just about to implement something similar myself. Before I take the time to dive into your code, it would be very helpful if you could provide some documentation and usage examples.

How does this relate to - http://arduino.cc/forum/index.php/topic,51439.msg490973.html#msg490973 -

KonaEarth:
I was just about to implement something similar myself. Before I take the time to dive into your code, it would be very helpful if you could provide some documentation and usage examples.

There are some examples in the EventSystem directory
I'v been trying to find the time to write some docs. My problem is I'm not very good at writing docs.

robtillaart:
How does this relate to - http://arduino.cc/forum/index.php/topic,51439.msg490973.html#msg490973 -

That forum post describes events with call back functions mine does not use call back functions only message passing in the dispatch queue.

I'm in the process in adding a HAL layer so that connecting a button via a native pin is exactly the same as adding a button to an I2C expander chip.