Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ begin
Method
begin
libraries/GAMMA/gamma.cpp:36–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
35
36
bool GAMMA::begin()
37
{
38
if (_table == NULL)
39
{
40
_table = (uint8_t *) malloc(_size + 1);
41
}
42
if (_table == NULL) return false;
43
setGamma(2.8);
44
return true;
45
};
46
47
48
bool GAMMA::setGamma(float gamma)
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36