Created
April 19, 2023 01:01
-
-
Save reefwing/500ac6537e4699493711b190032b4fa9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
void sendResponse(char *key, char *value) { | |
Serial.print("{\""); | |
Serial.print(key); | |
Serial.print("\":\""); | |
Serial.print(value); | |
Serial.print("\"}\r\n"); | |
} | |
void sendResponse(char *key, int value) { | |
Serial.print("{\""); | |
Serial.print(key); | |
Serial.print("\":\""); | |
Serial.print(value); | |
Serial.print("\"}\r\n"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment