Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
void SIMON::add(uint8_t value)
70
{
71
if (_idx == _maxSize)
72
{
73
_idx = 0;
74
}
75
_answer[_idx] = value;
76
_idx++;
77
}
78
79
80
bool SIMON::verify()
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36