ESP_IOT v2.5
IOT ESP Coding
ButtonModule.h File Reference
#include "../../Defines.h"
Include dependency graph for ButtonModule.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SINGLE_CLICK_BM   0
 
#define MAX_CALLBACKS_BM   1
 

Functions

void setup_ButtonModule ()
 
void loop_ButtonModule ()
 
void refreshDelayButtonTouched_ButtonModule ()
 called by the feed operation to say the device is still running.. and count it as a button click. More...
 
void buttonA_ShortPress_ButtonModule ()
 
void buttonA_LongPress_ButtonModule ()
 long press on buttonA (top button) More...
 
void buttonB_LongPress_ButtonModule ()
 the long press of the side button More...
 
void buttonB_ShortPress_ButtonModule ()
 the short press of the side button More...
 

Macro Definition Documentation

◆ MAX_CALLBACKS_BM

#define MAX_CALLBACKS_BM   1

Definition at line 25 of file ButtonModule.h.

◆ SINGLE_CLICK_BM

#define SINGLE_CLICK_BM   0

Definition at line 24 of file ButtonModule.h.

Function Documentation

◆ buttonA_LongPress_ButtonModule()

void buttonA_LongPress_ButtonModule ( )

long press on buttonA (top button)

Definition at line 115 of file ButtonModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ buttonA_ShortPress_ButtonModule()

void buttonA_ShortPress_ButtonModule ( )

This is only thing exposed to others.. (Kinda which only 1 button module) short press on buttonA (top button)

Definition at line 110 of file ButtonModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ buttonB_LongPress_ButtonModule()

void buttonB_LongPress_ButtonModule ( )

the long press of the side button

Definition at line 120 of file ButtonModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ buttonB_ShortPress_ButtonModule()

void buttonB_ShortPress_ButtonModule ( )

the short press of the side button

Definition at line 125 of file ButtonModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loop_ButtonModule()

void loop_ButtonModule ( )

calls the extension of ButtonModule

Definition at line 76 of file ButtonModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshDelayButtonTouched_ButtonModule()

void refreshDelayButtonTouched_ButtonModule ( )

called by the feed operation to say the device is still running.. and count it as a button click.

ButtonModule

Definition at line 30 of file ButtonModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setup_ButtonModule()

void setup_ButtonModule ( )

calls the extension of ButtonModule

Definition at line 58 of file ButtonModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: