FastLED 3.9.15
Loading...
Searching...
No Matches
json_helpers.cpp.hpp File Reference
#include "fl/fx/wled/json_helpers.h"
#include "fl/log/log.h"
#include "fl/stl/cstdlib.h"
+ Include dependency graph for json_helpers.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::wled
 

Functions

bool fl::wled::parseHexColor (const fl::string &hexStr, u8 &r, u8 &g, u8 &b)
 Parse hex color string to RGB components.
 
void fl::wled::parseSegmentFields (const fl::json &segJson, WLEDSegment &seg)
 Parse all fields from a segment JSON object into a WLEDSegment.
 
fl::string fl::wled::rgbToHex (u8 r, u8 g, u8 b)
 Convert RGB components to hex string.