Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ color4_code
Method
color4_code
libraries/ANSI/ansi.cpp:195–201 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
193
194
195
void ANSI::color4_code(uint8_t base, uint8_t color) {
196
if (color < 8) {
197
print(base + color);
198
} else {
199
print(base + bright_color + color);
200
}
201
}
202
203
204
void ANSI::color4(uint8_t base, uint8_t color) {
Callers
2
color4
Method · 0.95
colors4
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected