Add Ultiboard2 electronics. With PWM current settings. For the few people that have this new board as experiment in their UM-Original.
This commit is contained in:
@@ -2778,6 +2778,15 @@ void process_commands()
|
||||
if(code_seen('B')) digipot_current(4,code_value());
|
||||
if(code_seen('S')) for(int i=0;i<=4;i++) digipot_current(i,code_value());
|
||||
#endif
|
||||
#ifdef MOTOR_CURRENT_PWM_XY_PIN
|
||||
if(code_seen('X')) digipot_current(0, code_value());
|
||||
#endif
|
||||
#ifdef MOTOR_CURRENT_PWM_Z_PIN
|
||||
if(code_seen('Z')) digipot_current(1, code_value());
|
||||
#endif
|
||||
#ifdef MOTOR_CURRENT_PWM_E_PIN
|
||||
if(code_seen('E')) digipot_current(2, code_value());
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
case 908: // M908 Control digital trimpot directly.
|
||||
|
Reference in New Issue
Block a user