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

Method setup

src/DigitalRainAnimation.hpp:216–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 }
215
216 void setup(int len_min, int len_max, int spd_min, int spd_max, int frame) {
217 line_len_min = len_min;
218 line_len_max = len_max;
219 line_speed_min = spd_min;
220 line_speed_max = spd_max;
221 matrixTimeFrame = frame;
222 timeFrame = matrixTimeFrame;
223 prepareAnim();
224 }
225
226 void setTextAnimMode(AnimMode mode, const std::string& msg, int startX = 60, int startY = 60, int frame = 400) {
227 _animMode = mode;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected