ESP_IOT v2.5
IOT ESP Coding
M5Display.cpp File Reference
#include "../../Defines.h"
#include "M5Display.h"
#include "LED_DisPlay.h"
Include dependency graph for M5Display.cpp:

Go to the source code of this file.

Macros

#define MAX_COLORS   5
 

Functions

void setup_M5Display ()
 the setup() no loop() More...
 
void animation (uint8_t *buffptr, uint8_t amspeed, uint8_t ammode, int64_t amcount)
 
void displaybuff (uint8_t *buffptr, int8_t offsetx, int8_t offsety)
 
void setBrightness (uint8_t brightness)
 
void drawpix (uint8_t xpos, uint8_t ypos, CRGB Color)
 
void drawpix (uint8_t Number, CRGB Color)
 
void clear ()
 
char * colorName (CRGB Color)
 
void fillpix (CRGB Color)
 color the button light More...
 
CRGB getRandomColor ()
 7.24.25 return a (semi) random color More...
 

Variables

LED_DisPlay _dis
 the LED DIsplay Object More...
 
boolean _M5DisplaySetup = false
 
long _randomColorIndex = 0
 

Macro Definition Documentation

◆ MAX_COLORS

#define MAX_COLORS   5

Definition at line 76 of file M5Display.cpp.

Function Documentation

◆ animation()

void animation ( uint8_t *  buffptr,
uint8_t  amspeed,
uint8_t  ammode,
int64_t  amcount 
)

Definition at line 24 of file M5Display.cpp.

Here is the call graph for this function:

◆ clear()

void clear ( )

Definition at line 44 of file M5Display.cpp.

Here is the call graph for this function:

◆ colorName()

char * colorName ( CRGB  Color)

Definition at line 49 of file M5Display.cpp.

Here is the caller graph for this function:

◆ displaybuff()

void displaybuff ( uint8_t *  buffptr,
int8_t  offsetx,
int8_t  offsety 
)

Definition at line 28 of file M5Display.cpp.

Here is the call graph for this function:

◆ drawpix() [1/2]

void drawpix ( uint8_t  Number,
CRGB  Color 
)

Definition at line 40 of file M5Display.cpp.

Here is the call graph for this function:

◆ drawpix() [2/2]

void drawpix ( uint8_t  xpos,
uint8_t  ypos,
CRGB  Color 
)

Definition at line 36 of file M5Display.cpp.

Here is the call graph for this function:

◆ fillpix()

void fillpix ( CRGB  Color)

color the button light

Definition at line 65 of file M5Display.cpp.

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

◆ getRandomColor()

CRGB getRandomColor ( )

7.24.25 return a (semi) random color

Definition at line 78 of file M5Display.cpp.

Here is the caller graph for this function:

◆ setBrightness()

void setBrightness ( uint8_t  brightness)

Definition at line 32 of file M5Display.cpp.

Here is the call graph for this function:

◆ setup_M5Display()

Variable Documentation

◆ _dis

the LED DIsplay Object

Definition at line 8 of file M5Display.cpp.

◆ _M5DisplaySetup

boolean _M5DisplaySetup = false

Definition at line 9 of file M5Display.cpp.

◆ _randomColorIndex

long _randomColorIndex = 0

Definition at line 75 of file M5Display.cpp.