AbleButtons V0.4.0
Lightweight button library for Arduino.
 
Loading...
Searching...
No Matches
Callback.h File Reference

Declarations for Callback module. More...

#include "Config.h"

Go to the source code of this file.

Functions

void onEvent (Button::CALLBACK_EVENT, uint8_t)
 Callback function for button events. More...
 

Detailed Description

Declarations for Callback module.

Definition in file Callback.h.

Function Documentation

◆ onEvent()

void onEvent ( Button::CALLBACK_EVENT  event,
uint8_t  id 
)

Callback function for button events.

Parameters
eventThe event that has occured.
idThe identifier of the button generating the callback.

Definition at line 20 of file Callback.cpp.