FastLED 3.9.7
Loading...
Searching...
No Matches
insert_result.h
1#pragma once
2
3namespace fl {
4
5// Because of the fixed size nature of a lot of FastLED's containers we
6// need to provide additional feedback to the caller about the nature of
7// why an insert did or did not happen. Specifically, we want to differentiate
8// between failing to insert because the item already existed and when the container
9// was full.
10enum InsertResult {
11 kInserted = 0,
12 kExists = 1,
13 kMaxSize = 2,
14};
15
16} // namespace fl
Implements a simple red square effect for 2D LED grids.
Definition crgb.h:16