FastLED 3.9.15
Loading...
Searching...
No Matches
pair.h
Go to the documentation of this file.
1#pragma once
2
3namespace fl {
4
5template<typename Key, typename Value>
6struct Pair {
8 Value second = Value();
9 Pair(const Key& k, const Value& v) : first(k), second(v) {}
10};
11
12} // namespace fl
Implements a simple red square effect for 2D LED grids.
Definition crgb.h:16
Definition Keyboard.h:22
Pair(const Key &k, const Value &v)
Definition pair.h:9
Key first
Definition pair.h:7
Value second
Definition pair.h:8