Arduino:1.8.12 (Windows 10), 开发板:"Arduino Uno"
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp: In member function 'void RobotMotorBoard::begin()':
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:32:2: error: 'Serial1' was not declared in this scope
Serial1.begin(9600);
^~~~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:32:2: note: suggested alternative: 'Serial'
Serial1.begin(9600);
^~~~~~~
Serial
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:37:21: error: 'MUXA' was not declared in this scope
uint8_t MuxPins[]={MUXA,MUXB,MUXC};
^~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:37:21: note: suggested alternative: 'MUX0'
uint8_t MuxPins[]={MUXA,MUXB,MUXC};
^~~~
MUX0
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:37:26: error: 'MUXB' was not declared in this scope
uint8_t MuxPins[]={MUXA,MUXB,MUXC};
^~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:37:26: note: suggested alternative: 'MUX0'
uint8_t MuxPins[]={MUXA,MUXB,MUXC};
^~~~
MUX0
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:37:31: error: 'MUXC' was not declared in this scope
uint8_t MuxPins[]={MUXA,MUXB,MUXC};
^~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:37:31: note: suggested alternative: 'MUX0'
uint8_t MuxPins[]={MUXA,MUXB,MUXC};
^~~~
MUX0
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:38:26: error: 'MUX_IN' was not declared in this scope
this->IRs.begin(MuxPins,MUX_IN,3);
^~~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:38:26: note: suggested alternative: 'MUX0'
this->IRs.begin(MuxPins,MUX_IN,3);
^~~~~~
MUX0
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:39:10: error: 'MUXI' was not declared in this scope
pinMode(MUXI,INPUT);
^~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:39:10: note: suggested alternative: 'MUX0'
pinMode(MUXI,INPUT);
^~~~
MUX0
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp: In member function 'uint8_t RobotMotorBoard::parseCodename(uint8_t)':
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:136:11: error: 'TK1' was not declared in this scope
return TK1;
^~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:138:11: error: 'TK2' was not declared in this scope
return TK2;
^~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:140:11: error: 'TK3' was not declared in this scope
return TK3;
^~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:142:11: error: 'TK4' was not declared in this scope
return TK4;
^~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp: In member function 'uint8_t RobotMotorBoard::codenameToAPin(uint8_t)':
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:154:11: error: 'A11' was not declared in this scope
return A11;
^~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:154:11: note: suggested alternative: 'A1'
return A11;
^~~
A1
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp: In member function 'void RobotMotorBoard::motorsWrite(int, int)':
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:192:15: error: 'IN_A1' was not declared in this scope
analogWrite(IN_A1,speedR);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:192:15: note: suggested alternative: 'PIN_A1'
analogWrite(IN_A1,speedR);
^~~~~
PIN_A1
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:193:15: error: 'IN_A2' was not declared in this scope
analogWrite(IN_A2,0);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:193:15: note: suggested alternative: 'PIN_A2'
analogWrite(IN_A2,0);
^~~~~
PIN_A2
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:195:15: error: 'IN_A1' was not declared in this scope
analogWrite(IN_A1,0);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:195:15: note: suggested alternative: 'PIN_A1'
analogWrite(IN_A1,0);
^~~~~
PIN_A1
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:196:15: error: 'IN_A2' was not declared in this scope
analogWrite(IN_A2,-speedR);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:196:15: note: suggested alternative: 'PIN_A2'
analogWrite(IN_A2,-speedR);
^~~~~
PIN_A2
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:200:15: error: 'IN_B1' was not declared in this scope
analogWrite(IN_B1,speedL);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:200:15: note: suggested alternative: 'INT1'
analogWrite(IN_B1,speedL);
^~~~~
INT1
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:201:15: error: 'IN_B2' was not declared in this scope
analogWrite(IN_B2,0);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:201:15: note: suggested alternative: 'PINB2'
analogWrite(IN_B2,0);
^~~~~
PINB2
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:203:15: error: 'IN_B1' was not declared in this scope
analogWrite(IN_B1,0);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:203:15: note: suggested alternative: 'INT1'
analogWrite(IN_B1,0);
^~~~~
INT1
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:204:15: error: 'IN_B2' was not declared in this scope
analogWrite(IN_B2,-speedL);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:204:15: note: suggested alternative: 'PINB2'
analogWrite(IN_B2,-speedL);
^~~~~
PINB2
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp: In member function 'virtual void RobotMotorBoard::motorsStop()':
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:212:14: error: 'IN_A1' was not declared in this scope
analogWrite(IN_A1,255);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:212:14: note: suggested alternative: 'PIN_A1'
analogWrite(IN_A1,255);
^~~~~
PIN_A1
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:213:14: error: 'IN_A2' was not declared in this scope
analogWrite(IN_A2,255);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:213:14: note: suggested alternative: 'PIN_A2'
analogWrite(IN_A2,255);
^~~~~
PIN_A2
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:215:14: error: 'IN_B1' was not declared in this scope
analogWrite(IN_B1,255);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:215:14: note: suggested alternative: 'INT1'
analogWrite(IN_B1,255);
^~~~~
INT1
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:216:14: error: 'IN_B2' was not declared in this scope
analogWrite(IN_B2,255);
^~~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:216:14: note: suggested alternative: 'PINB2'
analogWrite(IN_B2,255);
^~~~~
PINB2
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp: In member function 'void RobotMotorBoard::_readTrim()':
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:271:23: error: 'TRIM' was not declared in this scope
int value=analogRead(TRIM);
^~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:271:23: note: suggested alternative: 'TSM'
int value=analogRead(TRIM);
^~~~
TSM
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp: In member function 'void RobotMotorBoard::_refreshMotorAdjustment()':
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:278:33: error: 'TRIM' was not declared in this scope
motorAdjustment=map(analogRead(TRIM),0,1023,-30,30)/100.0;
^~~~
C:\Users\֣ʱ��\Desktop\Arduino\libraries\Robot_Motor\src\ArduinoRobotMotorBoard.cpp:278:33: note: suggested alternative: 'TSM'
motorAdjustment=map(analogRead(TRIM),0,1023,-30,30)/100.0;
^~~~
TSM
exit status 1
为开发板 Arduino Uno 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|