|
115 | 115 | */ |
116 | 116 | //#define SD_CARD_SELECT_PIN xxxx |
117 | 117 |
|
| 118 | +/** \def MCP3008_SELECT_PIN |
| 119 | +
|
| 120 | + Chip Select pin of the MCP3008 ADC. |
| 121 | +
|
| 122 | + MCP3008/4 analog-digital converter works over SPI and has a Chip Select pin. |
| 123 | + Choose this pin according to where the MCP3008 is connected. Setting this |
| 124 | + pin is required only if at least one temperature sensor of type MCP3008 is |
| 125 | + configured. Else it's ignored. |
| 126 | +*/ |
| 127 | +//#define MCP3008_SELECT_PIN xxxx |
| 128 | + |
118 | 129 |
|
119 | 130 | /***************************************************************************\ |
120 | 131 | * * |
|
127 | 138 | #endif |
128 | 139 |
|
129 | 140 | /** \def TEMP_MAX6675 TEMP_THERMISTOR TEMP_AD595 TEMP_PT100 TEMP_INTERCOM |
| 141 | + \def TEMP_MCP3008 |
| 142 | +
|
130 | 143 | Which temperature sensor types are you using? Leave all used ones |
131 | 144 | uncommented, comment out all others to save binary size and enhance |
132 | 145 | performance. |
|
136 | 149 | //#define TEMP_AD595 |
137 | 150 | //#define TEMP_PT100 |
138 | 151 | //#define TEMP_INTERCOM |
| 152 | +//#define TEMP_MCP3008 |
139 | 153 |
|
140 | 154 | /** \def TEMP_SENSOR_PIN |
141 | 155 | Temperature sensor pins a user should be able to choose from in configtool. |
|
155 | 169 | "noheater". |
156 | 170 |
|
157 | 171 | Types are same as TEMP_ list above - TT_MAX6675, TT_THERMISTOR, TT_AD595, |
158 | | - TT_PT100, TT_INTERCOM. See list in temp.c. |
| 172 | + TT_PT100, TT_INTERCOM, TT_MCP3008. See list in temp.c. |
159 | 173 |
|
160 | | - The "additional" field is used for TT_THERMISTOR only. It defines the |
161 | | - name of the table(s) in thermistortable.h to use. This name is arbitrary, |
162 | | - often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also, |
163 | | - several sensors can share the same table, which saves binary size. |
| 174 | + The "additional" field is used for TT_THERMISTOR and TT_MCP3008 only. It |
| 175 | + defines the name of the table(s) in thermistortable.h to use. This name is |
| 176 | + arbitrary, often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. |
| 177 | + Also, several sensors can share the same table, which saves binary size. |
164 | 178 |
|
165 | 179 | For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin |
166 | 180 | won't be used in this case. |
|
0 commit comments