本文整理汇总了C++中setTargetBed函数的典型用法代码示例。如果您正苦于以下问题:C++ setTargetBed函数的具体用法?C++ setTargetBed怎么用?C++ setTargetBed使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了setTargetBed函数的17个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: lcd_preheat_abs_bedonly
void lcd_preheat_abs_bedonly()
{
setTargetBed(absPreheatHPBTemp);
fanSpeed = absPreheatFanSpeed;
lcd_return_to_status();
setWatch(); // heater sanity check timer
}
开发者ID:elmarnitsche,项目名称:Firmware-Playground,代码行数:7,代码来源:ultralcd.cpp
示例2: lcd_cooldown
////i4
void lcd_cooldown()
{
setTargetHotend0(0);
setTargetBed(0);
fanSpeed = 0;
lcd_return_to_status();
}
开发者ID:Trideo,项目名称:PrintBox-Max,代码行数:8,代码来源:ultralcd.cpp
示例3: lcd_cooldown
static void lcd_cooldown()
{
setTargetHotend0(0);
setTargetHotend1(0);
setTargetHotend2(0);
setTargetBed(0);
lcd_return_to_status();
}
开发者ID:tianshiz,项目名称:3DPrinterr,代码行数:8,代码来源:ultralcd.cpp
示例4: lcd_preheat_flex
void lcd_preheat_flex()
{
setTargetHotend0(flexPreheatHotendTemp);
setTargetBed(flexPreheatHPBTemp);
fanSpeed = 0;
lcd_return_to_status();
setWatch(); // heater sanity check timer
}
开发者ID:thisismud,项目名称:Prusa-i3-Plus,代码行数:8,代码来源:ultralcd.cpp
示例5: lcd_preheat_pla2
void lcd_preheat_pla2()
{
setTargetHotend2(plaPreheatHotendTemp);
setTargetBed(plaPreheatHPBTemp);
fanSpeed = plaPreheatFanSpeed;
lcd_return_to_status();
setWatch(); // heater sanity check timer
}
开发者ID:elmarnitsche,项目名称:Firmware-Playground,代码行数:8,代码来源:ultralcd.cpp
示例6: lcd_preheat_abs
void lcd_preheat_abs()
{
setTargetHotend0(absPreheatHotendTemp);
setTargetHotend1(absPreheatHotendTemp);
setTargetHotend2(absPreheatHotendTemp);
setTargetBed(absPreheatHPBTemp);
fanSpeed = absPreheatFanSpeed;
lcd_return_to_status();
}
开发者ID:ahathoor,项目名称:DefaPrintteri,代码行数:9,代码来源:ultralcd.cpp
示例7: lcd_preheat_pla
void lcd_preheat_pla()
{
setTargetHotend0(plaPreheatHotendTemp);
setTargetHotend1(plaPreheatHotendTemp);
setTargetHotend2(plaPreheatHotendTemp);
setTargetBed(plaPreheatHPBTemp);
fanSpeed = plaPreheatFanSpeed;
lcd_return_to_status();
}
开发者ID:ahathoor,项目名称:DefaPrintteri,代码行数:9,代码来源:ultralcd.cpp
示例8: mct_ClickBed
void mct_ClickBed(uint8_t line, volatile long &pos, bool &adjustValue, uint8_t which)
{
adjustValue = !adjustValue;
if (adjustValue) {
pos = intround(degTargetBed());
} else {
setTargetBed(pos);
}
}
开发者ID:harlequin-tech,项目名称:MarlinHQ,代码行数:9,代码来源:menu_tempcontrol.cpp
示例9: lcd_preheat_abs
void lcd_preheat_abs()
{
for(int e = 0; e < EXTRUDERS; e++) {
setTargetHotend(absPreheatHotendTemp, e);
fanSpeed[e] = (unsigned char)absPreheatFanSpeed;
}
setTargetBed(absPreheatHPBTemp);
lcd_return_to_status();
}
开发者ID:Lunavast,项目名称:MarlinX2,代码行数:9,代码来源:ultralcd.cpp
示例10: lcd_preheat_nylon
void lcd_preheat_nylon()
{
setTargetHotend0(nylonPreheatHotendTemp);
setTargetHotend1(nylonPreheatHotendTemp);
setTargetHotend2(nylonPreheatHotendTemp);
setTargetBed(nylonPreheatHPBTemp);
fanSpeed = nylonPreheatFanSpeed;
lcd_return_to_status();
setWatch(); // heater sanity check timer
}
开发者ID:BCN3D,项目名称:Paste-Extruder-Firmware,代码行数:10,代码来源:ultralcd.cpp
示例11: lcd_preheat_abs012
void lcd_preheat_abs012()
{
setTargetHotend0(absPreheatHotendTemp);
setTargetHotend1(absPreheatHotendTemp);
setTargetHotend2(absPreheatHotendTemp);
setTargetBed(absPreheatHPBTemp);
fanSpeed = absPreheatFanSpeed;
lcd_return_to_status();
setWatch(); // heater sanity check timer
}
开发者ID:elmarnitsche,项目名称:Firmware-Playground,代码行数:10,代码来源:ultralcd.cpp
示例12: lcd_preheat_laybrick
void lcd_preheat_laybrick()
{
setTargetHotend0(LAYBRICK_PREHEAT_HOTEND_TEMP);
setTargetHotend1(LAYBRICK_PREHEAT_HOTEND_TEMP);
setTargetHotend2(LAYBRICK_PREHEAT_HOTEND_TEMP);
setTargetBed(LAYBRICK_PREHEAT_HPB_TEMP);
fanSpeed = LAYBRICK_PREHEAT_FAN_SPEED;
lcd_return_to_status();
setWatch(); // heater sanity check timer
}
开发者ID:BCN3D,项目名称:Paste-Extruder-Firmware,代码行数:10,代码来源:ultralcd.cpp
示例13: lcd_preheat_abs
void lcd_preheat_abs()
{
setTargetHotend0(absPreheatHotendTemp);
setTargetHotend1(absPreheatHotendTemp);
setTargetHotend2(absPreheatHotendTemp);
setTargetBed(absPreheatHPBTemp);
#if FAN_PIN > -1
fanSpeed = absPreheatFanSpeed;
analogWrite(FAN_PIN, fanSpeed);
#endif
lcd_return_to_status();
}
开发者ID:peter6960,项目名称:OpenHardwarecozaFirmwares,代码行数:12,代码来源:ultralcd.cpp
示例14: checkHitEndstops
void checkHitEndstops() {
if (endstop_x_hit || endstop_y_hit || endstop_z_hit || endstop_z_probe_hit) { // #ifdef || endstop_z_probe_hit to save space if needed.
SERIAL_ECHO_START;
SERIAL_ECHOPGM(MSG_ENDSTOPS_HIT);
if (endstop_x_hit) {
SERIAL_ECHOPAIR(" X:", (float)endstops_trigsteps[X_AXIS] / axis_steps_per_unit[X_AXIS]);
LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "X");
}
if (endstop_y_hit) {
SERIAL_ECHOPAIR(" Y:", (float)endstops_trigsteps[Y_AXIS] / axis_steps_per_unit[Y_AXIS]);
LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "Y");
}
if (endstop_z_hit) {
SERIAL_ECHOPAIR(" Z:", (float)endstops_trigsteps[Z_AXIS] / axis_steps_per_unit[Z_AXIS]);
LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "Z");
}
#ifdef Z_PROBE_ENDSTOP
if (endstop_z_probe_hit) {
SERIAL_ECHOPAIR(" Z_PROBE:", (float)endstops_trigsteps[Z_AXIS] / axis_steps_per_unit[Z_AXIS]);
LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "ZP");
}
#endif
SERIAL_EOL;
endstops_hit_on_purpose();
#if defined(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED) && defined(SDSUPPORT)
if (abort_on_endstop_hit) {
card.sdprinting = false;
card.closefile();
quickStop();
setTargetHotend0(0);
setTargetHotend1(0);
setTargetHotend2(0);
setTargetHotend3(0);
setTargetBed(0);
}
#endif
}
}
开发者ID:Claude59,项目名称:Mondrian3,代码行数:40,代码来源:stepper.cpp
示例15: checkHitEndstops
void checkHitEndstops()
{
if( endstop_xmin_hit || endstop_xmax_hit || endstop_ymin_hit || endstop_ymax_hit || endstop_zmin_hit || endstop_zmax_hit) {
SERIAL_ECHO_START;
SERIAL_ECHOPGM(MSG_ENDSTOPS_HIT);
if(endstop_xmin_hit || endstop_xmax_hit) {
SERIAL_ECHOPAIR(" X:",(float)endstops_trigsteps[X_AXIS]/axis_steps_per_unit[X_AXIS]);
LCD_MESSAGEPGM(MSG_ENDSTOPS_TOUCH "X");
}
if(endstop_ymin_hit || endstop_ymax_hit) {
SERIAL_ECHOPAIR(" Y:",(float)endstops_trigsteps[Y_AXIS]/axis_steps_per_unit[Y_AXIS]);
LCD_MESSAGEPGM(MSG_ENDSTOPS_TOUCH "Y");
}
if(endstop_zmin_hit || endstop_zmax_hit) {
SERIAL_ECHOPAIR(" Z:",(float)endstops_trigsteps[Z_AXIS]/axis_steps_per_unit[Z_AXIS]);
LCD_MESSAGEPGM(MSG_ENDSTOPS_TOUCH "Z");
}
SERIAL_ECHOLN("");
endstop_xmin_hit=false;
endstop_xmax_hit=false;
endstop_ymin_hit=false;
endstop_ymax_hit=false;
endstop_zmin_hit=false;
endstop_zmax_hit=false;
#if defined(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED) && defined(SDSUPPORT)
if (abort_on_endstop_hit)
{
card.sdprinting = false;
card.closefile();
quickStop();
setTargetHotend0(0);
setTargetHotend1(0);
setTargetHotend2(0);
setTargetHotend3(0);
setTargetBed(0);
}
#endif
}
}
开发者ID:Salcka,项目名称:Marlin,代码行数:39,代码来源:stepper.cpp
示例16: lcd_preheat_bed
void lcd_preheat_bed()
{
setTargetBed(BED_PREHEAT_TEMP);
lcd_return_to_status();
setWatch(); //sanity check
}
开发者ID:BCN3D,项目名称:Paste-Extruder-Firmware,代码行数:6,代码来源:ultralcd.cpp
示例17: process
//.........这里部分代码省略.........
}
else if (buff_value[0]=='R' &&
buff_value[1]=='E' &&
buff_value[2]=='S' &&
buff_value[3]=='E' &&
buff_value[4]=='T')
{
//Motherboard::getBoard().reset(true);
}
/*
else if (buff_value[0]=='S')
{
writeString((char *)"{SYS:P");
uint8_t i = command::pauseState();
writeInt(i,3);
put('/');
put('H');
i=host::getHostState();
writeInt(i,3);
put('}');
}
break;
*/
case 'C':
if (buff_value[0]=='P')
{
uint16_t t;
t=atoi((const char*)buff_value+1);
if (t<0 || t>150) return;
setTargetBed(t);
}
else if (buff_value[0]=='T')
{
int16_t t;
t=atoi((const char*)buff_value+2);
if (t<0 || t>280) return;
if (buff_value[1] == '0')
{
setTargetHotend(t,0);
}
else
{
setTargetHotend(t,1);
}
}
else if (buff_value[0]=='S')
{
int16_t t;
uint8_t i;
t=atoi((const char*)buff_value+1);
if (t<1) t=1;
else if (t>50) t=50;
feedmultiply=t*10;
}
break;
case 'P':
开发者ID:MalyanSystem,项目名称:Malyan-M180-Marlin,代码行数:67,代码来源:LcdBoard.cpp
注:本文中的setTargetBed函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论