|
@@ -33,19 +33,19 @@
|
33
|
33
|
#if ENABLED(DAC_STEPPER_CURRENT)
|
34
|
34
|
#include "Wire.h"
|
35
|
35
|
|
36
|
|
-#define defaultVDD 5000
|
37
|
|
-#define BASE_ADDR 0x60
|
38
|
|
-#define RESET 0B00000110
|
39
|
|
-#define WAKE 0B00001001
|
40
|
|
-#define UPDATE 0B00001000
|
41
|
|
-#define MULTIWRITE 0B01000000
|
42
|
|
-#define SINGLEWRITE 0B01011000
|
43
|
|
-#define SEQWRITE 0B01010000
|
44
|
|
-#define VREFWRITE 0B10000000
|
45
|
|
-#define GAINWRITE 0B11000000
|
|
36
|
+#define defaultVDD 5000
|
|
37
|
+#define BASE_ADDR 0x60
|
|
38
|
+#define RESET 0B00000110
|
|
39
|
+#define WAKE 0B00001001
|
|
40
|
+#define UPDATE 0B00001000
|
|
41
|
+#define MULTIWRITE 0B01000000
|
|
42
|
+#define SINGLEWRITE 0B01011000
|
|
43
|
+#define SEQWRITE 0B01010000
|
|
44
|
+#define VREFWRITE 0B10000000
|
|
45
|
+#define GAINWRITE 0B11000000
|
46
|
46
|
#define POWERDOWNWRITE 0B10100000
|
47
|
|
-#define GENERALCALL 0B0000000
|
48
|
|
-#define GAINWRITE 0B11000000
|
|
47
|
+#define GENERALCALL 0B00000000
|
|
48
|
+#define GAINWRITE 0B11000000
|
49
|
49
|
|
50
|
50
|
// This is taken from the original lib, makes it easy to edit if needed
|
51
|
51
|
// DAC_OR_ADDRESS defined in pins_BOARD.h file
|