Adjusted values for Rigidboard Configuration

Rigidboard differs a little in configuration from the PrinterBoardRevF we modeled the code after.
This commit is contained in:
jaysonkelly 2016-09-27 17:46:58 -06:00 committed by Scott Lahteine
parent 850259bb25
commit 3b3d282f8e

View File

@ -34,10 +34,10 @@
// Channels available for DAC, For Rigidboard there are 4 // Channels available for DAC, For Rigidboard there are 4
#define DAC_STEPPER_ORDER { 0, 1, 2, 3 } #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
#define DAC_STEPPER_SENSE 0.11 #define DAC_STEPPER_SENSE 0.05 //sense resistors on rigidboard stepper chips are .05 value
#define DAC_STEPPER_ADDRESS 0 #define DAC_STEPPER_ADDRESS 0
#define DAC_STEPPER_MAX 5000 #define DAC_STEPPER_MAX 4096 // was 5000 but max allowable value is actually 4096
#define DAC_STEPPER_VREF 1 //internal Vref, gain 1x = 2.048V #define DAC_STEPPER_VREF 1 // internal Vref, gain 2x = 4.096V
#define DAC_STEPPER_GAIN 0 #define DAC_STEPPER_GAIN 1 // value of 1 here sets gain of 2
#define DAC_DISABLE_PIN 42 // set low to enable DAC #define DAC_DISABLE_PIN 42 // set low to enable DAC
#define DAC_OR_ADDRESS 0x01 #define DAC_OR_ADDRESS 0x01