MakerLab创客实验室 — Let's Make something.
现在注册
已注册用户请 登入
正月十五 large avatar
MakerLab创客实验室  ›  固件

打印机的名字改不了?

By 正月十五 at 一年前 , 1580 次浏览

问题在代码下方

#ifndef CONFIGURATION_H
#define CONFIGURATION_H

// This configuration file contains the basic settings.
//本文件只包含基本配置。
// Advanced settings can be found in Configuration_adv.h
//高级配置需要到Configuration_adv.h 文件中进行配置。
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
//基本设置:选择板子类型,温度传感器类型,轴比率,及限位开关设置

//===========================================================================
//============================= DELTA Printer ===============================
//===========================================================================
// For a Delta printer rplace the configuration files wilth the files in the
// example_configurations/delta directory.
//DELTA打印机需要更换配置文件
//

// User-specified version info of this build to display in [Pronterface, etc] terminal window during
// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
// build by the user have been successfully uploaded into firmware.
#define STRING_VERSION_CONFIG_H DATE " " TIME // build date and time
#define STRING_CONFIG_H_AUTHOR "(MakerLab, default config)" // Who made the changes.
//这里可以配置修改配置的作者。

// SERIAL_PORT selects which serial port should be used for communication with the host.
// This allows the connection of wireless adapters (for instance) to non-default port pins.
// Serial port 0 is still used by the Arduino bootloader regardless of this setting.
#define SERIAL_PORT 0
//这里配置用于传输Gcode的串口号,默认使用串口0作为通讯串口,如果想要在其它串口用蓝牙通讯,可以配置为相应的串口号。

// This determines the communication speed of the printer
// This determines the communication speed of the printer
#define BAUDRATE 250000
//波特率配置,这里的波特率需要跟上位机一致才可以,否则将无法通讯成功

// This enables the serial port associated to the Bluetooth interface
//#define BTENABLED // Enable BT interface on AT90USB devices
//只适用于AT90USB相应的板子

//// The following define selects which electronics board you have. Please choose the one that matches your setup
// 10 = Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics"
// 11 = Gen7 v1.1, v1.2 = 11
// 12 = Gen7 v1.3
// 13 = Gen7 v1.4
// 2 = Cheaptronic v1.0
// 20 = Sethi 3D_1
// 3 = MEGA/RAMPS up to 1.2 = 3
// 33 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed)
// 34 = RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
// 35 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
// 4 = Duemilanove w/ ATMega328P pin assignment
// 5 = Gen6
// 51 = Gen6 deluxe
// 6 = Sanguinololu < 1.2
// 62 = Sanguinololu 1.2 and above
// 63 = Melzi
// 64 = STB V1.1
// 65 = Azteeg X1
// 66 = Melzi with ATmega1284 (MaKr3d version)
// 67 = Azteeg X3
// 68 = Azteeg X3 Pro
// 7 = Ultimaker
// 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare)
// 77 = 3Drag Controller
// 8 = Teensylu
// 80 = Rumba
// 81 = Printrboard (AT90USB1286)
// 82 = Brainwave (AT90USB646)
// 83 = SAV Mk-I (AT90USB1286)
// 9 = Gen3+
// 70 = Megatronics
// 701= Megatronics v2.0
// 702= Minitronics v1.0
// 90 = Alpha OMCA board
// 91 = Final OMCA board
// 301 = Rambo
// 21 = Elefu Ra Board (v3)
// 310 = Mega Controller by MakerLab

#ifndef MOTHERBOARD
#define MOTHERBOARD 310
#endif
//根据你的板子类型选自相应的数字在这里,我这里配置为310,是由我们MakerLab最新设计的合体式的控制板Mega Controller

// Define this to set a custom name for your generic Mendel,
// #define CUSTOM_MENDEL_NAME "MakerLab Mendel"

//可以给你的打印机取个名字

最后的这一句,我改了一个名字,去掉了前面的“//” 但是不管怎么改 屏幕仍然显示“Mebot准备打印”,有朋友遇到过类似问题吗?麻烦告知一下

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

呵呵,打印机名称在language.h文件中,你找找看。

正月十五 medium avatar
#3 - 一年前
正月十五

@Andy 原来在这里,谢谢Andy

也感谢cp2010504400的解答