Quellcode durchsuchen

Merge pull request #6516 from thinkyhead/rc_meaningful_branch_name

Need to define this for Rigidboard V2
Scott Lahteine vor 8 Jahren
Ursprung
Commit
ff95a9850a
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 6
    0
      Marlin/pins_RIGIDBOARD_V2.h

+ 6
- 0
Marlin/pins_RIGIDBOARD_V2.h Datei anzeigen

32
 //
32
 //
33
 // Steppers
33
 // Steppers
34
 //
34
 //
35
+
35
 // I2C based DAC like on the Printrboard REVF
36
 // I2C based DAC like on the Printrboard REVF
36
 #define DAC_STEPPER_CURRENT
37
 #define DAC_STEPPER_CURRENT
38
+
37
 // Channels available for DAC, For Rigidboard there are 4
39
 // Channels available for DAC, For Rigidboard there are 4
38
 #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
40
 #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
39
 
41
 
44
 #define DAC_STEPPER_GAIN     1 // value of 1 here sets gain of 2
46
 #define DAC_STEPPER_GAIN     1 // value of 1 here sets gain of 2
45
 #define DAC_DISABLE_PIN     42 // set low to enable DAC
47
 #define DAC_DISABLE_PIN     42 // set low to enable DAC
46
 #define DAC_OR_ADDRESS    0x01
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

Laden…
Abbrechen
Speichern