MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / repeat

Method repeat

libraries/LineFormatter/LineFormatter.cpp:103–107  ·  view source on GitHub ↗

////////////////////////////////////// REPEAT

Source from the content-addressed store, hash-verified

101// REPEAT
102//
103void LineFormatter::repeat(uint8_t n, char c, uint8_t newLine)
104{
105 while (n--) print(c);
106 while (newLine--) write('\n');
107}
108
109
110void LineFormatter::repeat(uint8_t n, const char* str, uint8_t newLine)

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64