Created
April 26, 2020 05:16
-
-
Save Vzor-/4e23b6b3179067cf19aebf1125b9a0bd to your computer and use it in GitHub Desktop.
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
#include <Arduino.h> | |
#include <esp_log.h> | |
void setup() { | |
Serial.begin(115200); | |
String a = "test"; | |
String b = "12345678"; | |
String out = a + b; | |
log_printf("%s + %s = %s\n", a, b, out); | |
for (int i = 0; i < out.length(); i++) { | |
log_printf("%c", out.charAt(i)); | |
} | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
} | |
// output: | |
// test + 12345678 = \��?␏ | |
// test12345678 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment