#include <M5Unified.hpp>
Definition at line 68 of file M5Unified.hpp.
◆ addDisplay()
| std::size_t m5::M5Unified::addDisplay |
( |
M5GFX & |
dsp | ) |
|
◆ begin() [1/2]
| void m5::M5Unified::begin |
( |
config_t |
cfg | ) |
|
|
inline |
Perform initialization process at startup.
Definition at line 311 of file M5Unified.hpp.
◆ begin() [2/2]
| void m5::M5Unified::begin |
( |
void |
| ) |
|
|
inline |
Perform initialization process at startup.
Definition at line 303 of file M5Unified.hpp.
◆ config()
| static config_t m5::M5Unified::config |
( |
void |
| ) |
|
|
inlinestatic |
◆ delay()
| static void m5::M5Unified::delay |
( |
uint32_t |
msec | ) |
|
|
inlinestatic |
◆ Displays()
| M5GFX& m5::M5Unified::Displays |
( |
size_t |
index | ) |
|
|
inline |
◆ getBoard()
| board_t m5::M5Unified::getBoard |
( |
void |
| ) |
const |
|
inline |
get the board type of the runtime environment.
- Returns
- board type
Definition at line 297 of file M5Unified.hpp.
◆ getDisplay()
| M5GFX & m5::M5Unified::getDisplay |
( |
size_t |
index | ) |
|
◆ getDisplayCount()
| std::size_t m5::M5Unified::getDisplayCount |
( |
void |
| ) |
const |
|
inline |
◆ getDisplayIndex() [1/2]
| int32_t m5::M5Unified::getDisplayIndex |
( |
m5gfx::board_t |
board | ) |
|
◆ getDisplayIndex() [2/2]
| int32_t m5::M5Unified::getDisplayIndex |
( |
std::initializer_list< m5gfx::board_t > |
board_list | ) |
|
◆ getPin()
| static int8_t m5::M5Unified::getPin |
( |
pin_name_t |
name | ) |
|
|
inlinestatic |
◆ getUpdateMsec()
| std::uint32_t m5::M5Unified::getUpdateMsec |
( |
void |
| ) |
const |
|
inline |
milli seconds at the time the update was called
Definition at line 269 of file M5Unified.hpp.
◆ micros()
| static uint32_t m5::M5Unified::micros |
( |
void |
| ) |
|
|
inlinestatic |
◆ millis()
| static uint32_t m5::M5Unified::millis |
( |
void |
| ) |
|
|
inlinestatic |
◆ setLogDisplayIndex()
| void m5::M5Unified::setLogDisplayIndex |
( |
size_t |
index | ) |
|
◆ setLogDisplayType() [1/2]
| void m5::M5Unified::setLogDisplayType |
( |
m5gfx::board_t |
board | ) |
|
|
inline |
◆ setLogDisplayType() [2/2]
| void m5::M5Unified::setLogDisplayType |
( |
std::initializer_list< m5gfx::board_t > |
board_list | ) |
|
◆ setPrimaryDisplay()
| bool m5::M5Unified::setPrimaryDisplay |
( |
std::size_t |
index | ) |
|
◆ setPrimaryDisplayType() [1/2]
| bool m5::M5Unified::setPrimaryDisplayType |
( |
m5gfx::board_t |
board | ) |
|
|
inline |
◆ setPrimaryDisplayType() [2/2]
| bool m5::M5Unified::setPrimaryDisplayType |
( |
std::initializer_list< m5gfx::board_t > |
board_list | ) |
|
◆ update()
| void m5::M5Unified::update |
( |
void |
| ) |
|
To call this function in a loop function.
don't break;
don't break;
Definition at line 1056 of file M5Unified.cpp.
◆ BtnA
◆ BtnB
◆ BtnC
◆ BtnEXT
◆ BtnPWR
◆ Display
| M5GFX m5::M5Unified::Display |
◆ Ex_I2C
| I2C_Class& m5::M5Unified::Ex_I2C = m5::Ex_I2C |
◆ Imu
◆ In_I2C
| I2C_Class& m5::M5Unified::In_I2C = m5::In_I2C |
◆ Lcd
| M5GFX& m5::M5Unified::Lcd = Display |
◆ Log
◆ Mic
◆ Power
◆ Rtc
◆ Speaker
◆ Touch
The documentation for this class was generated from the following files: