نقل قول نوشته اصلی توسط magmagmary نمایش پست ها
هدر کد اسم کتابخونه هست
جستجو کنید دوست عزیز
مرسی...
کتابخونه را استفاده کردم...فقط بازم خطا داد!

Arduino: 1.6.6 Hourly Build 2015/10/22 05:42 (Windows 7), Board: "Arduino/Genuino Uno"

In file included from F:\My circuits\!!!!!!!!!!!! ط¢ط±ط¯غŒظ†ظˆ\ط³ظپط§ط±ط´ط§ طھ ط®ط±غŒط¯\gy-521 mpu6050 example code\MPU6050_Arduino-master\Ver_0_1b\Gyro_header\farshad268\farshad268. ino:13:0:

sketch\gyro_accel.h:1:19: warning: extra tokens at end of #ifndef directive [enabled by default]

#ifndef gyro_accel.h

^

sketch\gyro_accel.h:2:21: warning: ISO C99 requires whitespace after the macro name [enabled by default]

#define gyro_accel.h

^

farshad268:22: error: expected initializer before '_x_accel'

F:\My circuits\!!!!!!!!!!!! ط¢ط±ط¯غŒظ†ظˆ\ط³ظپط§ط±ط´ط§ طھ ط®ط±غŒط¯\gy-521 mpu6050 example code\MPU6050_Arduino-master\Ver_0_1b\Gyro_header\farshad268\farshad268. ino: In function 'void loop()':

farshad268:59: error: 'angle_x' was not declared in this scope

farshad268:60: error: 'angle_y' was not declared in this scope

farshad268:66: error: 'angle_z' was not declared in this scope

farshad268:69: error: 'angle_z_accel' was not declared in this scope

farshad268:69: error: 'accel_x_scal' was not declared in this scope

farshad268:70: error: 'angle_y_accel' was not declared in this scope

farshad268:70: error: 'accel_z_scal' was not declared in this scope

farshad268:71: error: 'angle_x_accel' was not declared in this scope

exit status 1
expected initializer before '_x_accel'

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.