|
ESP_IOT v2.5
IOT ESP Coding
|
#include "../../Defines.h"#include <FastLED.h>

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... | |
| #define L_BLUE (CRGB) 0x0000ff |
Definition at line 38 of file M5Display.h.
| #define L_GREEN (CRGB) 0x00ff00 |
Definition at line 37 of file M5Display.h.
| #define L_RED (CRGB) 0xff0000 |
colors
Definition at line 36 of file M5Display.h.
| #define L_WHITE (CRGB) 0xe0e0e0 |
Definition at line 39 of file M5Display.h.
| #define L_YELLOW (CRGB) 0xfff000 |
Definition at line 40 of file M5Display.h.
| void animation | ( | uint8_t * | buffptr, |
| uint8_t | amspeed, | ||
| uint8_t | ammode, | ||
| int64_t | amcount = -1 |
||
| ) |
| void clear | ( | ) |
| void displaybuff | ( | uint8_t * | buffptr, |
| int8_t | offsetx = 0, |
||
| int8_t | offsety = 0 |
||
| ) |
| void drawpix | ( | uint8_t | Number, |
| CRGB | Color | ||
| ) |
| void drawpix | ( | uint8_t | xpos, |
| uint8_t | ypos, | ||
| CRGB | Color | ||
| ) |
| void fillpix | ( | CRGB | Color | ) |
color the button light
Definition at line 65 of file M5Display.cpp.


| CRGB getRandomColor | ( | ) |
7.24.25 return a (semi) random color
Definition at line 78 of file M5Display.cpp.

| void setBrightness | ( | uint8_t | brightness | ) |
| void setup_M5Display | ( | ) |
CRGB is RGB https://github.com/FastLED/FastLED/wiki/Pixel-reference https://github.com/FastLED/FastLED/wiki/RGBSet-Reference https://gist.github.com/chemdoc77?page=3 https://github.com/marmilicious/FastLED_examples/blob/master/blink_variations.ino@see https://community.m5stack.com/topic/5550/atom-lite-with-different-led-controllers-for-internal-led/7
Definition at line 11 of file M5Display.cpp.

