In file included from C:\Users\willw\Documents\Arduino\libraries\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
sketch\OpenCat.h:559:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Wire.requestFrom(DEVICE_ADDRESS, skillHeader);
^
In file included from sketch\OpenCat.h:85:0,
from C:\Users\willw\Documents\Arduino\libraries\OpenCat\WriteInstinct\WriteInstinct.ino:31:
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h:68:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h:65:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^~~~~~~~~~~
In file included from C:\Users\willw\Documents\Arduino\libraries\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: At global scope:
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
};
^
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
C:\Users\willw\Documents\Arduino\libraries\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void setup()':
C:\Users\willw\Documents\Arduino\libraries\OpenCat\WriteInstinct\WriteInstinct.ino:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("rest");
^
C:\Users\willw\Documents\Arduino\libraries\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void loop()':
C:\Users\willw\Documents\Arduino\libraries\OpenCat\WriteInstinct\WriteInstinct.ino:361:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
skillByName("rest");
^
C:\Users\willw\Documents\Arduino\libraries\OpenCat\WriteInstinct\WriteInstinct.ino:400:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("calib");
The messages you showed are warnings, not errors. In the end, the message confirms that the compilation is finished. You should be able to open the serial monitor for the next steps.
I still get the error even though I run Verify/Compile
In file included from C:\Users\willw\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
sketch\OpenCat.h:559:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Wire.requestFrom(DEVICE_ADDRESS, skillHeader);
^
In file included from sketch\OpenCat.h:85:0,
from C:\Users\willw\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h:68:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h:65:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^~~~~~~~~~~
In file included from C:\Users\willw\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: At global scope:
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
};
^
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
C:\Users\willw\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void setup()':
C:\Users\willw\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("rest");
^
C:\Users\willw\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void loop()':
C:\Users\willw\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:361:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
skillByName("rest");
^
C:\Users\willw\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:400:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("calib");
^
Sketch uses 25758 bytes (79%) of program storage space. Maximum is 32256 bytes.
Global variables use 1372 bytes (66%) of dynamic memory, leaving 676 bytes for local variables. Maximum is 2048 bytes.
They are warning messages about type conversion. They won't be problems if you can compile and upload the sketch.