MCPcopy Create free account
hub / github.com/OpenEPaperLink/OpenEPaperLink / addFadeColor

Function addFadeColor

ESP32_AP-Flasher/src/leds.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void addFadeColor(CRGB cname) {
62 struct ledInstructionRGB* rgb = new struct ledInstructionRGB;
63 rgb->ledColor = cname;
64 rgb->fadeTime = 750;
65 rgb->length = 0;
66 addToRGBQueue(rgb, false);
67}
68
69void shortBlink(CRGB cname) {
70 struct ledInstructionRGB* rgb = new struct ledInstructionRGB;

Callers 3

ledTaskFunction · 0.70
doForcedAPFlashFunction · 0.70
doAPUpdateFunction · 0.70

Calls 1

addToRGBQueueFunction · 0.70

Tested by

no test coverage detected