Fails to compile:
.../Arduino/libraries/DFRobot_PH-master/example/DFRobot_PH_EC/DFRobot_PH_EC.ino: In function 'void loop()':
.../Arduino/libraries/DFRobot_PH-master/example/DFRobot_PH_EC/DFRobot_PH_EC.ino:66:9: error: 'strupr' was not declared in this scope
strupr(cmd);
^~
.../Arduino/libraries/DFRobot_PH-master/example/DFRobot_PH_EC/DFRobot_PH_EC.ino:66:9: note: suggested alternative: 'strdup'
strupr(cmd);
^~
strdup
exit status 1
Compilation error: 'strupr' was not declared in this scope
`
Header comments have wrong file mentioned. `/*
Fails to compile:
.../Arduino/libraries/DFRobot_PH-master/example/DFRobot_PH_EC/DFRobot_PH_EC.ino: In function 'void loop()': .../Arduino/libraries/DFRobot_PH-master/example/DFRobot_PH_EC/DFRobot_PH_EC.ino:66:9: error: 'strupr' was not declared in this scope strupr(cmd); ^~.../Arduino/libraries/DFRobot_PH-master/example/DFRobot_PH_EC/DFRobot_PH_EC.ino:66:9: note: suggested alternative: 'strdup' strupr(cmd); ^~strdupexit status 1
Compilation error: 'strupr' was not declared in this scope `
This has been mentioned in the past.