ESP_IOT
v2.5
IOT ESP Coding
UI.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "../../Defines.h"
4
5
#ifdef ESP_M5
6
// not used by M5, but there is a pin 2 that buzzes
7
#define BUZZ 23
8
9
#elif defined(BOARD)
10
/***************** LED definitions *******************************/
11
#define BLUE_LED 32
12
#define GREEN_LED 33
13
#define YELLOW_LED 25
14
15
/***************** Touch Pad definitons **************************/
16
#define TOUCH_1 4
17
#define TOUCH_2 13
18
#define TOUCH_3 15
19
20
/***************** Other definintions ****************************/
21
#define BUZZ 23
22
#define POWER_PIN 18
23
24
25
#else
//older without the board .. but with a buzzer
26
#define BUZZ 26
27
28
#endif
//ESP_M5
29
30
/***************** End definitons ** Start assignments **********/
31
void
setup_UIModule
();
32
void
loop_UIModule
();
33
34
//!UI specific actions
35
void
setBuzzerLight_UIModule
(
boolean
onFlag);
36
37
//!turns on/off a solid light
38
void
solidLightOnOff_UIModule
(
boolean
onOff);
39
40
//!blink the LED
41
void
blinkLED_UIModule
();
setup_UIModule
void setup_UIModule()
UIModule
Definition:
UI.cpp:13
loop_UIModule
void loop_UIModule()
Definition:
UI.cpp:14
setBuzzerLight_UIModule
void setBuzzerLight_UIModule(boolean onFlag)
UI specific actions.
Definition:
UI.cpp:17
blinkLED_UIModule
void blinkLED_UIModule()
blink the LED
Definition:
UI.cpp:23
solidLightOnOff_UIModule
void solidLightOnOff_UIModule(boolean onOff)
turns on/off a solid light
Definition:
UI.cpp:20
src
UIModule
UI.h
Generated on Tue Aug 19 2025 13:00:32 for ESP_IOT by
1.9.5