Eventually
Eventually copied to clipboard
A library for event-based programming to make Arduino programming more fun and intuitive
Single timers were triggering every loop after the fire the first time.
I started out with the example code from the Readme page and from there started developing some more complex scenario involving two timers. I quickly stumbled across the issues already...
I would like to create a one time event, but it trigger endless fire. Code snipped: ``` #include "Eventually.h" EvtManager mgr; void setup() { Serial.begin(9600); mgr.addListener(new EvtTimeListener(1000, false, (EvtAction)sayHelloSerial)); }...
Hi, And many thanks for this nice library! I intend to use in for a project with my students. I have two questions and one suggestion about the `EvtContext::addListener` method....
I made a temperature measurer station with an esp8266 and an oled distpay. I add event handlers at setup: a Timer event handled and a Http event handler. Because I...
Hi Jonathan I've been using "Eventually" to de-bouncing control inputs and to control a stepper motor, at present I'm doing the following: To control stepper motor speed I'm using the...
Hi, Hi, would I remove a particular listener, please? Thanks Stephen
Fixes johnnyb/Eventually#6 and probably johnnyb/Eventually#5.
It uses i to seek an empty slot then puts the new even on the end (eventcount) anyway(!) I was having problems - with events just disappearing (not being set...
What if I want to listen (EvtPinListener) to change pin state not in Arduino itself but in expander chip ?