-
-
Save dkgrieshammer/3d0e9a341ce3ad18a434c7b0ef243aea to your computer and use it in GitHub Desktop.
Arduino - IPAddress to char*
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); | |
//IP now contains IPAddress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment