A eventdriven library for arduino