全是问题??????
Arduino:1.6.12 (Windows 7), 开发板:"Arduino/Genuino Uno"
In file included from C:\Users\Administrator\AppData\Local\Temp\KuaiZip\KuaiZipa10c8c7$.tmp\sketch_jul09a\sketch_jul09a.ino:4:0:
D:\我的文档\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 = {
^
D:\我的文档\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 = {
^
D:\我的文档\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 = {
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpInitialize()':
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:342:30: error: 'dmpMemory' was not declared in this scope
if (writeProgMemoryBlock(dmpMemory, MPU6050_DMP_CODE_SIZE)) {
^
D:\我的文档\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 D:\arduino-1.6.12\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,
from sketch\sketch_jul09a.ino.cpp:1:
D:\我的文档\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]);
^
D:\我的文档\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]);
^
D:\我的文档\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]);
^
D:\我的文档\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]);
^
D:\我的文档\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]);
^
D:\我的文档\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]);
^
D:\我的文档\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]);
^
In file included from C:\Users\Administrator\AppData\Local\Temp\KuaiZip\KuaiZipa10c8c7$.tmp\sketch_jul09a\sketch_jul09a.ino:4:0:
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpGetAccel(int32_t*, const uint8_t*)':
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:536:31: warning: left shift count >= width of type
data[0] = ((packet[28] << 24) + (packet[29] << 16) + (packet[30] << 8) + packet[31]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:536:52: warning: left shift count >= width of type
data[0] = ((packet[28] << 24) + (packet[29] << 16) + (packet[30] << 8) + packet[31]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:537:31: warning: left shift count >= width of type
data[1] = ((packet[32] << 24) + (packet[33] << 16) + (packet[34] << 8) + packet[35]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:537:52: warning: left shift count >= width of type
data[1] = ((packet[32] << 24) + (packet[33] << 16) + (packet[34] << 8) + packet[35]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:538:31: warning: left shift count >= width of type
data[2] = ((packet[36] << 24) + (packet[37] << 16) + (packet[38] << 8) + packet[39]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:538:52: warning: left shift count >= width of type
data[2] = ((packet[36] << 24) + (packet[37] << 16) + (packet[38] << 8) + packet[39]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpGetQuaternion(int32_t*, const uint8_t*)':
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:560:30: warning: left shift count >= width of type
data[0] = ((packet[0] << 24) + (packet[1] << 16) + (packet[2] << 8) + packet[3]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:560:50: warning: left shift count >= width of type
data[0] = ((packet[0] << 24) + (packet[1] << 16) + (packet[2] << 8) + packet[3]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:561:30: warning: left shift count >= width of type
data[1] = ((packet[4] << 24) + (packet[5] << 16) + (packet[6] << 8) + packet[7]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:561:50: warning: left shift count >= width of type
data[1] = ((packet[4] << 24) + (packet[5] << 16) + (packet[6] << 8) + packet[7]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:562:30: warning: left shift count >= width of type
data[2] = ((packet[8] << 24) + (packet[9] << 16) + (packet[10] << 8) + packet[11]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:562:50: warning: left shift count >= width of type
data[2] = ((packet[8] << 24) + (packet[9] << 16) + (packet[10] << 8) + packet[11]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:563:31: warning: left shift count >= width of type
data[3] = ((packet[12] << 24) + (packet[13] << 16) + (packet[14] << 8) + packet[15]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:563:52: warning: left shift count >= width of type
data[3] = ((packet[12] << 24) + (packet[13] << 16) + (packet[14] << 8) + packet[15]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpGetGyro(int32_t*, const uint8_t*)':
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:593:31: warning: left shift count >= width of type
data[0] = ((packet[16] << 24) + (packet[17] << 16) + (packet[18] << 8) + packet[19]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:593:52: warning: left shift count >= width of type
data[0] = ((packet[16] << 24) + (packet[17] << 16) + (packet[18] << 8) + packet[19]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:594:31: warning: left shift count >= width of type
data[1] = ((packet[20] << 24) + (packet[21] << 16) + (packet[22] << 8) + packet[23]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:594:52: warning: left shift count >= width of type
data[1] = ((packet[20] << 24) + (packet[21] << 16) + (packet[22] << 8) + packet[23]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:595:31: warning: left shift count >= width of type
data[2] = ((packet[24] << 24) + (packet[25] << 16) + (packet[26] << 8) + packet[27]);
^
D:\我的文档\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:595:52: warning: left shift count >= width of type
data[2] = ((packet[24] << 24) + (packet[25] << 16) + (packet[26] << 8) + packet[27]);
^
exit status 1
为开发板 Arduino/Genuino Uno 编译时出错。
找到无效库在 D:\我的文档\Arduino\libraries\led__s: D:\我的文档\Arduino\libraries\led__s
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|