Browse Source

Need to define this for Rigidboard V2

Motor current defaults need to be defined for Rigidboard
jaysonkelly 7 years ago
parent
commit
769817ce5e
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      Marlin/pins_RIGIDBOARD_V2.h

+ 6
- 0
Marlin/pins_RIGIDBOARD_V2.h View File

@@ -32,8 +32,10 @@
32 32
 //
33 33
 // Steppers
34 34
 //
35
+
35 36
 // I2C based DAC like on the Printrboard REVF
36 37
 #define DAC_STEPPER_CURRENT
38
+
37 39
 // Channels available for DAC, For Rigidboard there are 4
38 40
 #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
39 41
 
@@ -44,3 +46,7 @@
44 46
 #define DAC_STEPPER_GAIN     1 // value of 1 here sets gain of 2
45 47
 #define DAC_DISABLE_PIN     42 // set low to enable DAC
46 48
 #define DAC_OR_ADDRESS    0x01
49
+
50
+#ifndef DAC_MOTOR_CURRENT_DEFAULT
51
+  #define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis
52
+#endif

Loading…
Cancel
Save