Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ foreground
Method
foreground
libraries/ANSI/ansi.cpp:73–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
72
73
void ANSI::foreground(uint8_t fgcolor)
74
{
75
if (fgcolor < 16) {
76
this->color4(fg_normal, fgcolor);
77
} else {
78
this->color8(fg_normal, fgcolor);
79
}
80
}
81
82
83
void ANSI::background(uint8_t bgcolor)
Callers
nothing calls this directly
Calls
2
color4
Method · 0.95
color8
Method · 0.95
Tested by
no test coverage detected