top of page

Forum Comments

The logic behind the calibration process
In Basic Assembly and Setup
Call on the Community #1!
In Basic Assembly and Setup
The logic behind the calibration process
In Basic Assembly and Setup
The logic behind the calibration process
In Basic Assembly and Setup
The logic behind the calibration process
In Basic Assembly and Setup
JF Marseau
Jun 29, 2019
Hello, I can't use 'c' command in WriteInstinct.ino , or other command (h, c9 4, d, ...). After calibrate EEprom and MPU, I just have "Gotcha !" ... I change the "V0_*" in "#define NyBoard_V0_2" in Instinct.h But I have some warning before transfert to ardruino (IDE v1.8.9) : In file included from C:\temp\OpenCat-master.20190604\OpenCat-master\Nybble\WriteInstinct\WriteInstinct.ino:31:0: sketch\OpenCat.h:604:1: warning: narrowing conversion of '-4.5e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing] }; ^ sketch\OpenCat.h:604:1: warning: narrowing conversion of '-4.5e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing] sketch\OpenCat.h:604:1: warning: narrowing conversion of '-4.5e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing] sketch\OpenCat.h:604:1: warning: narrowing conversion of '-4.5e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing] sketch\OpenCat.h:604:1: warning: narrowing conversion of '4.5e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing] sketch\OpenCat.h:604:1: warning: narrowing conversion of '-4.5e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing] sketch\OpenCat.h:604:1: warning: narrowing conversion of '4.5e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing] sketch\OpenCat.h:604:1: warning: narrowing conversion of '-4.5e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing] C:\temp\OpenCat-master.20190604\OpenCat-master\Nybble\WriteInstinct\WriteInstinct.ino: In function 'void setup()': C:\temp\OpenCat-master.20190604\OpenCat-master\Nybble\WriteInstinct\WriteInstinct.ino:231:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] motion.loadBySkillName("rest"); ^ C:\temp\OpenCat-master.20190604\OpenCat-master\Nybble\WriteInstinct\WriteInstinct.ino: In function 'void loop()': C:\temp\OpenCat-master.20190604\OpenCat-master\Nybble\WriteInstinct\WriteInstinct.ino:327:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] motion.loadBySkillName("rest"); ^ C:\temp\OpenCat-master.20190604\OpenCat-master\Nybble\WriteInstinct\WriteInstinct.ino:360:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] motion.loadBySkillName("calib"); ^ C:\Users\Documents\Arduino\libraries\Adafruit_PWM_Servo_Driver_Library\Adafruit_PWMServoDriver.cpp: In member function 'uint8_t Adafruit_PWMServoDriver::getPWM(uint8_t)': C:\Users\Documents\Arduino\libraries\Adafruit_PWM_Servo_Driver_Library\Adafruit_PWMServoDriver.cpp:167:71: 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: _i2c->requestFrom((uint8_t)_i2caddr, LED0_ON_L + 4 * num, (uint8_t)4); ^ In file included from C:\Users\Documents\Arduino\libraries\Adafruit_PWM_Servo_Driver_Library\Adafruit_PWMServoDriver.h:27:0, from C:\Users\Documents\Arduino\libraries\Adafruit_PWM_Servo_Driver_Library\Adafruit_PWMServoDriver.cpp:30: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:65:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int) uint8_t requestFrom(int, int, int); ^ C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:62:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t, uint8_t) uint8_t requestFrom(uint8_t, uint8_t, uint8_t); ^
0
0

JF Marseau

更多動作
bottom of page