|
本帖最后由 hjq9999 于 2021-4-10 10:52 编辑
谢谢 我再试试Arduino:1.8.12 (Windows 10), 开发板:"Arduino Uno"
sketch_apr10a:8:94: error: missing terminating " character
String Str1_1 = "t1.txt=""; // 命令开头3.1 完整的命令 "t1.txt="abcd""; 把串口屏幕t1的文本框修改成参数abcd
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sketch_apr10a:10:20: error: missing terminating " character
String Str0_1 = """; //命令结尾部分3.3
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sketch_apr10a:8:27: error: unable to find string literal operator 'operator""t1' with 'const char [60]', 'unsigned int' arguments
String Str1_1 = "t1.txt=""; // 命令开头3.1 完整的命令 "t1.txt="abcd""; 把串口屏幕t1的文本框修改成参数abcd
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sketch_apr10a:12:1: error: expected ',' or ';' before 'String'
String Str2_1 = ""; //总的数据
^~~~~~
sketch_apr10a:15:27: error: expected ',' or ';' before numeric constant
String Str3_1 = "t0.txt="14as""; //Serial.print("t0.txt="你好""); 发现中文不行
^~~~
C:\Users\pc\Desktop\sketch_apr10a\sketch_apr10a.ino: In function 'void loop()':
sketch_apr10a:32:1: error: 'Str2_1' was not declared in this scope
Str2_1 +=Str1_1;
^~~~~~
C:\Users\pc\Desktop\sketch_apr10a\sketch_apr10a.ino:32:1: note: suggested alternative: 'Str2_2'
Str2_1 +=Str1_1;
^~~~~~
Str2_2
sketch_apr10a:33:10: error: 'abcd_1' was not declared in this scope
Str2_1 +=abcd_1;
^~~~~~
C:\Users\pc\Desktop\sketch_apr10a\sketch_apr10a.ino:33:10: note: suggested alternative: 'abcd_2'
Str2_1 +=abcd_1;
^~~~~~
abcd_2
exit status 1
missing terminating " character
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|