hi everyone
i am new to xod. now i am working in a self balancing robot. but while testing mpu 6050 in arduino uno , i got compiling error and in calibration there was no output. i am using gabbapeople mbotlib latest version. please help …
this is the error message
Begin compiling code for the board Arduino Uno
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookplpEXQ\xod_1599917840268_sketch\xod_1599917840268_sketch.ino: In instantiation of ‘void xod::gabbapeople__mbot_lib__mpu6050_yrp_linear_accel::Node<constant_input_INT>::evaluate(xod::gabbapeople__mbot_lib__mpu6050_yrp_linear_accel::Node<constant_input_INT>::Context) [with unsigned char constant_input_INT = 12; xod::gabbapeople__mbot_lib__mpu6050_yrp_linear_accel::Node<constant_input_INT>::Context = xod::gabbapeople__mbot_lib__mpu6050_yrp_linear_accel::Node<12>::ContextObject*]’:
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookplpEXQ\xod_1599917840268_sketch\xod_1599917840268_sketch.ino:1676:36: required from here
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookplpEXQ\xod_1599917840268_sketch\xod_1599917840268_sketch.ino:1443:43: error: invalid use of non-static member function ‘void xod::gabbapeople__mbot_lib__mpu6050_yrp_linear_accel::Node<constant_input_INT>::dmpDataReady() [with unsigned char constant_input_INT = 12]’
PCintPort::attachInterrupt(INTERRUPT_PIN, dmpDataReady, RISING);
~~~~~~~~~~^
C:\Users\JARVI~1.S\AppData\Local\Temp\xod_temp_sketchbookplpEXQ\xod_1599917840268_sketch\xod_1599917840268_sketch.ino:1419:10: note: declared here
void dmpDataReady() {
^~~~~~~~~~~~
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.