|
@@ -114,3 +114,20 @@
|
114
|
114
|
#error "Marlin's Smoothieboard support cannot drive your LCD."
|
115
|
115
|
|
116
|
116
|
#endif
|
|
117
|
+
|
|
118
|
+/**
|
|
119
|
+ * I2C Digipots - MCP4451
|
|
120
|
+ * Address 58 (2C << 1)
|
|
121
|
+ * Set from 0 - 127 with stop bit.
|
|
122
|
+ * (Ex. 3F << 1 | 1)
|
|
123
|
+ */
|
|
124
|
+#define DIGIPOTS_I2C_SCL P0_0
|
|
125
|
+#define DIGIPOTS_I2C_SDA_X P0_04
|
|
126
|
+#define DIGIPOTS_I2C_SDA_Y P0_10
|
|
127
|
+#define DIGIPOTS_I2C_SDA_Z P0_19
|
|
128
|
+#define DIGIPOTS_I2C_SDA_E0 P0_21
|
|
129
|
+#define DIGIPOTS_I2C_SDA_E1 P4_29
|
|
130
|
+
|
|
131
|
+#ifndef DIGIPOT_I2C_ADDRESS_A
|
|
132
|
+ #define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address (58 <- 2C << 1)
|
|
133
|
+#endif
|