Arduino Nano 33 BLE Event Manager/Handler

I have been researching how to implement event handling. In doing so I have found the Arduino EventManager library in GitHub (EventManager). Working with the BlueTooth functions of the Arduino Nano 33 BLE I am handling events that are raised on value changes to Characteristics.

The question: Is the Arduino EventManager still the library to use or does the Nano library have a different event manager built in? Or more simply put, is the GitHub Arduino EventManager library still the way to implement event management in an Arduino class?

Yes. Take a look at

If you set the event handler for when the characteristic is written you can create functions for implementation when there is a value change.

Apologies as I should have been more specific. I know about, and I am using, the Characteristic based event handler, but it is specific to the Bluetooth library. My interest is in a generic event handler that can be used for non-Bluetooth based development. In other words, I want to build a class that can fire events when something happens, and then the main Arduino code can handle and take the appropriate actions.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.