# This is a combination of 2 commits.

# This is the 1st commit message:

MCP4728 consistency & fix ultralcd.cpp

The MCP4728 DAC controls the stepper motor current strenth on the
PRINTRBOARD Rev F and RIGIDBOARD V2 boards.

PR #5792 on 9 FEB 2017 implemented default drive percentages but only on
the RIGIDBOARD V2.

This change moves the default settings to Configuration_adv.h.

Also, ultralcd.cpp won't compile because of a type def conflict.
Changed it to match the one in stepper_dac.cpp

===========================================================

reword stepper curent section for clarity

===========================================================

change name & improve comments

===========================================================

changed name from A4JP to SCOOVO_X9H per PR #6139

# This is the commit message #2:

fix typo
This commit is contained in:
Bob-the-Kuhn
2017-03-25 11:48:27 -05:00
parent a5abc61fb9
commit 6643d553f6
21 changed files with 487 additions and 181 deletions

View File

@ -81,7 +81,7 @@ uint16_t max_display_update_time = 0;
#if ENABLED(DAC_STEPPER_CURRENT)
#include "stepper_dac.h" //was dac_mcp4728.h MarlinMain uses stepper dac for the m-codes
uint16_t driverPercent[XYZE];
int16_t driverPercent[XYZE];
#endif
#if ENABLED(ULTIPANEL)