MCPcopy Create free account
hub / github.com/0015/Arduino_DigitalRain_Matrix / getKey

Method getKey

src/DigitalRainAnimation.hpp:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 std::string getKey(int key_length) {
96 resetKey();
97 int maxKeyLength = std::min(key_length > 0 ? key_length : numOfline, numOfline);
98 for (int i = 0; i < maxKeyLength; ++i)
99 keyString += getAbcASCIIChar().c_str();
100 return keyString;
101 }
102
103 void prepareAnim() {
104 if (!_gfx) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected