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

Method add

libraries/SIMON/simon.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68
69void SIMON::add(uint8_t value)
70{
71 if (_idx == _maxSize)
72 {
73 _idx = 0;
74 }
75 _answer[_idx] = value;
76 _idx++;
77}
78
79
80bool SIMON::verify()

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36