hai everyone
i am using nkrkv/af-motor/dc-motors for controlling my dc motors.
i worked fine on older version of xod ( version 0.34 ) .but after updating the xod to version 0.35.2, thenkrkv/af-motor/dc-motors showing error while uploading . please help … other nodes worked fine.
this is the error message.
Begin compiling code for the board Arduino Uno
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1078:35: error: non-static data member ‘DIR_LATCH’ declared ‘constexpr’
constexpr uint8_t DIR_LATCH = 12;
^~
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1079:33: error: non-static data member ‘DIR_SER’ declared ‘constexpr’
constexpr uint8_t DIR_SER = 8;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1080:33: error: non-static data member ‘DIR_CLK’ declared ‘constexpr’
constexpr uint8_t DIR_CLK = 4;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1081:32: error: non-static data member ‘DIR_EN’ declared ‘constexpr’
constexpr uint8_t DIR_EN = 7;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1083:32: error: non-static data member ‘M1_PWM’ declared ‘constexpr’
constexpr uint8_t M1_PWM = 11; // PMW2A
^~
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1084:35: error: non-static data member ‘M1_A’ declared ‘constexpr’
constexpr uint8_t M1_A = 1 << 2;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1085:35: error: non-static data member ‘M1_B’ declared ‘constexpr’
constexpr uint8_t M1_B = 1 << 3;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1087:32: error: non-static data member ‘M2_PWM’ declared ‘constexpr’
constexpr uint8_t M2_PWM = 3; // PMW2B
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1088:35: error: non-static data member ‘M2_A’ declared ‘constexpr’
constexpr uint8_t M2_A = 1 << 1;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1089:35: error: non-static data member ‘M2_B’ declared ‘constexpr’
constexpr uint8_t M2_B = 1 << 4;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1091:32: error: non-static data member ‘M3_PWM’ declared ‘constexpr’
constexpr uint8_t M3_PWM = 5; // PMW0B
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1092:35: error: non-static data member ‘M3_A’ declared ‘constexpr’
constexpr uint8_t M3_A = 1 << 0;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1093:35: error: non-static data member ‘M3_B’ declared ‘constexpr’
constexpr uint8_t M3_B = 1 << 6;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1095:32: error: non-static data member ‘M4_PWM’ declared ‘constexpr’
constexpr uint8_t M4_PWM = 6; // PMW0A
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1096:35: error: non-static data member ‘M4_A’ declared ‘constexpr’
constexpr uint8_t M4_A = 1 << 5;
^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookkAxNBc\xod_1600695655310_sketch\xod_1600695655310_sketch.ino:1097:35: error: non-static data member ‘M4_B’ declared ‘constexpr’
constexpr uint8_t M4_B = 1 << 7;
^
Error during build: exit status 1
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.
please help…