ESP_IOT v2.5
IOT ESP Coding
M5Display.h File Reference
#include "../../Defines.h"
#include <FastLED.h>
Include dependency graph for M5Display.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define L_RED   (CRGB) 0xff0000
 colors More...
 
#define L_GREEN   (CRGB) 0x00ff00
 
#define L_BLUE   (CRGB) 0x0000ff
 
#define L_WHITE   (CRGB) 0xe0e0e0
 
#define L_YELLOW   (CRGB) 0xfff000
 

Functions

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

Macro Definition Documentation

◆ L_BLUE

#define L_BLUE   (CRGB) 0x0000ff

Definition at line 38 of file M5Display.h.

◆ L_GREEN

#define L_GREEN   (CRGB) 0x00ff00

Definition at line 37 of file M5Display.h.

◆ L_RED

#define L_RED   (CRGB) 0xff0000

colors

Definition at line 36 of file M5Display.h.

◆ L_WHITE

#define L_WHITE   (CRGB) 0xe0e0e0

Definition at line 39 of file M5Display.h.

◆ L_YELLOW

#define L_YELLOW   (CRGB) 0xfff000

Definition at line 40 of file M5Display.h.

Function Documentation

◆ animation()

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

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:

◆ displaybuff()

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

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()