Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ setCountDigits
Method
setCountDigits
libraries/SHEX/SHEX.cpp:120–127 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
118
119
120
void SHEX::setCountDigits(uint8_t digits)
121
{
122
_digits = digits;
123
if (_digits == 0) return;
124
if (_digits < 4) _digits = 4;
125
if (_digits > 8) _digits = 8;
126
restartOutput();
127
};
128
129
130
void SHEX::restartOutput()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64