ESP_IOT v2.5
IOT ESP Coding
|
Go to the source code of this file.
Functions | |
void | refreshDelayButtonTouched_ButtonModule () |
called by the feed operation to say the device is still running.. and count it as a button click. More... | |
void | setup_ButtonModule () |
void | loop_ButtonModule () |
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... | |
Variables | |
const int | _buttonPin = 0 |
const int | GPIO0 = _buttonPin |
const int | LED1 = 8 |
const int | LED2 = 9 |
const int | LEDP13 = 13 |
int | LED1Status = LOW |
int | LED2Status = LOW |
int | _buttonState |
boolean | _buttonPressed |
void buttonA_LongPress_ButtonModule | ( | ) |
long press on buttonA (top button)
Definition at line 115 of file ButtonModule.cpp.
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.
void buttonB_LongPress_ButtonModule | ( | ) |
the long press of the side button
Definition at line 120 of file ButtonModule.cpp.
void buttonB_ShortPress_ButtonModule | ( | ) |
the short press of the side button
Definition at line 125 of file ButtonModule.cpp.
void loop_ButtonModule | ( | ) |
calls the extension of ButtonModule
Definition at line 76 of file ButtonModule.cpp.
void refreshDelayButtonTouched_ButtonModule | ( | ) |
called by the feed operation to say the device is still running.. and count it as a button click.
Definition at line 30 of file ButtonModule.cpp.
void setup_ButtonModule | ( | ) |
calls the extension of ButtonModule
Definition at line 58 of file ButtonModule.cpp.
const int _buttonPin = 0 |
Definition at line 38 of file ButtonModule.cpp.
boolean _buttonPressed |
Definition at line 56 of file ButtonModule.cpp.
int _buttonState |
Definition at line 53 of file ButtonModule.cpp.
const int GPIO0 = _buttonPin |
Definition at line 41 of file ButtonModule.cpp.
const int LED1 = 8 |
Definition at line 43 of file ButtonModule.cpp.
int LED1Status = LOW |
Definition at line 50 of file ButtonModule.cpp.
const int LED2 = 9 |
Definition at line 44 of file ButtonModule.cpp.
int LED2Status = LOW |
Definition at line 51 of file ButtonModule.cpp.
const int LEDP13 = 13 |
Definition at line 47 of file ButtonModule.cpp.