ESP_IOT v2.5
IOT ESP Coding
|
#include "../../Defines.h"
Go to the source code of this file.
Functions | |
void | loop_ButtonProcessing () |
the loop for buttonProcessing (extension of ButtonModule) More... | |
void | setup_ButtonProcessing () |
void | refreshDelayButtonTouched_ButtonProcessing () |
called by the feed operation to say the device is still running.. and count it as a button click. More... | |
void | buttonA_ShortPress () |
short press on buttonA (top button) More... | |
void | buttonA_LongPress () |
long press on buttonA (top button) More... | |
void | buttonB_LongPress () |
the long press of the side button More... | |
void | buttonB_ShortPress () |
the short press of the side button More... | |
void buttonA_LongPress | ( | ) |
long press on buttonA (top button)
long press on buttonA (top button)
long press
buzz
Definition at line 503 of file ButtonProcessing.cpp.
void buttonA_ShortPress | ( | ) |
short press on buttonA (top button)
These button presses are exposed so a MQTT message can invoke them.. {'set':'buttonA','val':'longpress'} {'set':'buttonA','val':'shortpress'} {'set':'buttonB','val':'longpress'} {'set':'buttonB','val':'shortpress'}
see if there is a model..
redraws the Semantic Marker image..
redraws the Semantic Marker image..
no more action .. like no feed
feed always (done after the code below..)
unfortunately, the incrementFeedCount() is AFTER the redrawSemanticMarker.. This sets the semantic marker .. which is current SM
redraws the Semantic Marker image..
Definition at line 516 of file ButtonProcessing.cpp.
void buttonB_LongPress | ( | ) |
the long press of the side button
Definition at line 592 of file ButtonProcessing.cpp.
void buttonB_ShortPress | ( | ) |
the short press of the side button
and print any preferences to show
Definition at line 631 of file ButtonProcessing.cpp.
void loop_ButtonProcessing | ( | ) |
the loop for buttonProcessing (extension of ButtonModule)
Definition at line 857 of file ButtonProcessing.cpp.
void refreshDelayButtonTouched_ButtonProcessing | ( | ) |
called by the feed operation to say the device is still running.. and count it as a button click.
call the local implementation
Definition at line 145 of file ButtonProcessing.cpp.
void setup_ButtonProcessing | ( | ) |
the setup for buttonProcessing (extension of ButtonModule) 在 M5StickC Plus 启动或者复位后,即会开始执行setup()函数中的程序,该部分只会执行一次。
Definition at line 830 of file ButtonProcessing.cpp.