Created
November 10, 2017 18:34
-
-
Save drewler/1c82bbd0c9b8559ba3c486b796cb4b98 to your computer and use it in GitHub Desktop.
Arduino - IPAddress to char* + e-paper print
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char IP[] = "xxx.xxx.xxx.xxx"; // buffer | |
IPAddress ip = WiFi.localIP(); | |
ip.toString().toCharArray(IP, 16); | |
paint.DrawStringAt(0, 0, IP, &Font12, COLORED); | |
epd.SetPartialWindowBlack(paint.GetImage(), 0, 20, paint.GetWidth(), paint.GetHeight()); | |
epd.DisplayFrame(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment