|
Arduino:1.7.8 (Windows 8.1), 板:"Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
使用库 PID_v1 在文件夹: X:\Users\Trantran\Documents\Arduino\libraries\PID_v1 (legacy)
使用库 Wire 在文件夹: x:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
使用库 I2Cdev 在文件夹: X:\Users\Trantran\Documents\Arduino\libraries\I2Cdev (legacy)
使用库 MPU6050 在文件夹: X:\Users\Trantran\Documents\Arduino\libraries\MPU6050 (legacy)
x:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10708 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -Ix:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -Ix:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs -IX:\Users\Trantran\Documents\Arduino\libraries\PID_v1 -Ix:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire -IX:\Users\Trantran\Documents\Arduino\libraries\I2Cdev -IX:\Users\Trantran\Documents\Arduino\libraries\MPU6050 X:\Users\Trantran\AppData\Local\Temp\build8379443741957034644.tmp\autoRobot.cpp -o X:\Users\Trantran\AppData\Local\Temp\build8379443741957034644.tmp\autoRobot.cpp.o
In file included from autoRobot.ino:4:0:
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:89:7: error: 'prog_uchar' does not name a type
const prog_uchar dmpMemory[MPU6050_DMP_CODE_SIZE] PROGMEM = {
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:229:7: error: 'prog_uchar' does not name a type
const prog_uchar dmpConfig[MPU6050_DMP_CONFIG_SIZE] PROGMEM = {
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:271:7: error: 'prog_uchar' does not name a type
const prog_uchar dmpUpdates[MPU6050_DMP_UPDATES_SIZE] PROGMEM = {
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpInitialize()':
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:342:30: error: 'dmpMemory' was not declared in this scope
if (writeProgMemoryBlock(dmpMemory, MPU6050_DMP_CODE_SIZE)) {
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:349:42: error: 'dmpConfig' was not declared in this scope
if (writeProgDMPConfigurationSet(dmpConfig, MPU6050_DMP_CONFIG_SIZE)) {
^
In file included from x:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:29:0,
from x:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:26,
from x:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:26,
from x:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:26,
from autoRobot.ino:2:
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:390:98: error: 'dmpUpdates' was not declared in this scope
for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]);
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:394:98: error: 'dmpUpdates' was not declared in this scope
for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]);
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:433:98: error: 'dmpUpdates' was not declared in this scope
for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]);
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:437:98: error: 'dmpUpdates' was not declared in this scope
for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]);
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:441:98: error: 'dmpUpdates' was not declared in this scope
for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]);
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:459:98: error: 'dmpUpdates' was not declared in this scope
for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]);
^
X:\Users\Trantran\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:478:98: error: 'dmpUpdates' was not declared in this scope
for (j = 0; j < 4 || j < dmpUpdate[2] + 3; j++, pos++) dmpUpdate[j] = pgm_read_byte(&dmpUpdates[pos]);
^
编译有误。 |
|