MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / showIpAddress

Method showIpAddress

src/ButtonHandler/ButtonActions.cpp:271–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void ButtonActions::showIpAddress() const
272{
273 const uint32_t DURATION_NON_SCROLLING = 4000U; /* ms */
274 const uint32_t SCROLLING_REPEAT_NUM = 2U;
275 String infoStr = "IP: ";
276
277 infoStr += WiFi.localIP().toString();
278 SysMsg::getInstance().show(infoStr, DURATION_NON_SCROLLING, SCROLLING_REPEAT_NUM);
279}
280
281void ButtonActions::toggleDisplayOffOn()
282{

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.80
showMethod · 0.45

Tested by

no test coverage detected