MakerLab创客实验室 — Let's Make something.
现在注册
已注册用户请 登入
收藏此话题的成员
菜鸟一个 mini avatar
菜鸟一个 large avatar
MakerLab创客实验室  ›  固件

请问这个 int half = (ACCURATE_BED_LEVELING_POINTS - 1) / 2;代码老是错误

By 菜鸟一个 at 一年前 , 926 次浏览

Arduino:1.5.5 (Windows 7), 板:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Using library Wire in folder: E:\Arduino\hardware\arduino\avr\libraries\Wire (pre-1.5)

Using library U8glib in folder: E:\Arduino\libraries\U8glib (pre-1.5)

Using library LiquidCrystal in folder: E:\Arduino\libraries\LiquidCrystal

Using library SPI in folder: E:\Arduino\hardware\arduino\avr\libraries\SPI (pre-1.5)

E:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IE:\Arduino\hardware\arduino\avr\cores\arduino -IE:\Arduino\hardware\arduino\avr\variants\mega -IE:\Arduino\hardware\arduino\avr\libraries\Wire -IE:\Arduino\libraries\U8glib -IE:\Arduino\libraries\LiquidCrystal\src -IE:\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\BlinkM.cpp -o C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\BlinkM.cpp.o

E:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IE:\Arduino\hardware\arduino\avr\cores\arduino -IE:\Arduino\hardware\arduino\avr\variants\mega -IE:\Arduino\hardware\arduino\avr\libraries\Wire -IE:\Arduino\libraries\U8glib -IE:\Arduino\libraries\LiquidCrystal\src -IE:\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\cardreader.cpp -o C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\cardreader.cpp.o

E:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IE:\Arduino\hardware\arduino\avr\cores\arduino -IE:\Arduino\hardware\arduino\avr\variants\mega -IE:\Arduino\hardware\arduino\avr\libraries\Wire -IE:\Arduino\libraries\U8glib -IE:\Arduino\libraries\LiquidCrystal\src -IE:\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\ConfigurationStore.cpp -o C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\ConfigurationStore.cpp.o

E:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IE:\Arduino\hardware\arduino\avr\cores\arduino -IE:\Arduino\hardware\arduino\avr\variants\mega -IE:\Arduino\hardware\arduino\avr\libraries\Wire -IE:\Arduino\libraries\U8glib -IE:\Arduino\libraries\LiquidCrystal\src -IE:\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\digipot_mcp4451.cpp -o C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\digipot_mcp4451.cpp.o

E:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IE:\Arduino\hardware\arduino\avr\cores\arduino -IE:\Arduino\hardware\arduino\avr\variants\mega -IE:\Arduino\hardware\arduino\avr\libraries\Wire -IE:\Arduino\libraries\U8glib -IE:\Arduino\libraries\LiquidCrystal\src -IE:\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\LiquidCrystalRus.cpp -o C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\LiquidCrystalRus.cpp.o

E:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IE:\Arduino\hardware\arduino\avr\cores\arduino -IE:\Arduino\hardware\arduino\avr\variants\mega -IE:\Arduino\hardware\arduino\avr\libraries\Wire -IE:\Arduino\libraries\U8glib -IE:\Arduino\libraries\LiquidCrystal\src -IE:\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin.cpp -o C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin.cpp.o

E:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IE:\Arduino\hardware\arduino\avr\cores\arduino -IE:\Arduino\hardware\arduino\avr\variants\mega -IE:\Arduino\hardware\arduino\avr\libraries\Wire -IE:\Arduino\libraries\U8glib -IE:\Arduino\libraries\LiquidCrystal\src -IE:\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\MarlinSerial.cpp -o C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\MarlinSerial.cpp.o

E:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IE:\Arduino\hardware\arduino\avr\cores\arduino -IE:\Arduino\hardware\arduino\avr\variants\mega -IE:\Arduino\hardware\arduino\avr\libraries\Wire -IE:\Arduino\libraries\U8glib -IE:\Arduino\libraries\LiquidCrystal\src -IE:\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin_main.cpp -o C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin_main.cpp.o

C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin_main.cpp: In function 'void adjust_delta(float*)':
C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin_main.cpp:3289: error: 'ACCURATE_BED_LEVELING_POINTS' was not declared in this scope
C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin_main.cpp:3290: error: 'ACCURATE_BED_LEVELING_GRID_X' was not declared in this scope
C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin_main.cpp:3291: error: 'ACCURATE_BED_LEVELING_GRID_Y' was not declared in this scope
C:\Users\ADMINI~1\AppData\Local\Temp\build7096646239943922641.tmp\Marlin_main.cpp:3296: error: 'bed_level' was not declared in this scope

2 回复
Andy medium avatar
#1 - 一年前
Andy

这个错误应该是没有把自动调平相关的参数配置完整,仔细检查配置选项,把相应的都打开并配置一下

菜鸟一个 medium avatar
#2 - 一年前
菜鸟一个

用你发的那个Delta固件后,那个自动回原点,按一下他就动一下,移动一下才一点点大概1到2mm,不按就不动,要它移到最大值并碰到限位开关要按好久才行,这是怎么回事,还有就是开始打印的时候,它只会出丝轴电机不动,(而且出一点就不出了)请问这些问题要怎么解决