Pages: [1]   Go Down
Author Topic: Arduino EventSystem  (Read 1279 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 http://code.google.com/p/arduino-eventsystem/

Comments remarks requests are welcome.

NOTE: This is a work in progress.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 170
Posts: 12483
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: